0s autopkgtest [05:17:50]: starting date and time: 2025-02-22 05:17:50+0000
0s autopkgtest [05:17:50]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production'
0s autopkgtest [05:17:50]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gpgxoqnr/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glib2.0 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glib2.0/2.83.4-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-13.secgroup --name adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/
92s autopkgtest [05:19:22]: testbed dpkg architecture: ppc64el
92s autopkgtest [05:19:22]: testbed apt version: 2.9.30ubuntu1
93s autopkgtest [05:19:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup
93s autopkgtest [05:19:23]: testbed release detected to be: None
94s autopkgtest [05:19:24]: updating testbed package index (apt update)
94s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
95s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
95s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
95s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
95s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB]
95s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB]
95s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
95s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
95s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [125 kB]
95s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
95s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [434 kB]
95s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
95s Fetched 1279 kB in 1s (1223 kB/s)
96s Reading package lists...
97s Reading package lists...
97s Building dependency tree...
97s Reading state information...
97s Calculating upgrade...
98s Calculating upgrade...
98s The following packages will be upgraded:
98s apparmor apport apport-core-dump-handler base-files cloud-init
98s cloud-init-base gcc-14-base libapparmor1 libclang-cpp18 libclang1-19
98s libgnutls30t64 libllvm18 libllvm19 liblsof0 libnss3 libperl5.40 lsof
98s motd-news-config perl perl-base perl-modules-5.40 python3-apport
98s python3-problem-report ucf vim-common vim-tiny xxd
98s 27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
98s Need to get 99.0 MB of archives.
98s After this operation, 56.3 kB disk space will be freed.
98s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el motd-news-config all 13.6ubuntu1 [5168 B]
98s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el base-files ppc64el 13.6ubuntu1 [75.6 kB]
98s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-modules-5.40 all 5.40.1-2 [3217 kB]
98s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libperl5.40 ppc64el 5.40.1-2 [4948 kB]
99s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl ppc64el 5.40.1-2 [262 kB]
99s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-base ppc64el 5.40.1-2 [1923 kB]
99s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB]
99s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB]
99s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB]
99s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB]
99s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-17ubuntu3 [53.6 kB]
99s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libapparmor1 ppc64el 4.1.0~beta5-0ubuntu5 [58.8 kB]
99s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.9-2ubuntu2 [1079 kB]
99s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el ucf all 3.0050 [43.5 kB]
99s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-tiny ppc64el 2:9.1.0967-1ubuntu2 [1079 kB]
99s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-common all 2:9.1.0967-1ubuntu2 [396 kB]
99s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el xxd ppc64el 2:9.1.0967-1ubuntu2 [68.4 kB]
99s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el apparmor ppc64el 4.1.0~beta5-0ubuntu5 [806 kB]
99s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsof ppc64el 4.99.4+dfsg-2 [256 kB]
99s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsof0 ppc64el 4.99.4+dfsg-2 [68.5 kB]
99s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init-base all 25.1-0ubuntu1 [616 kB]
99s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang-cpp18 ppc64el 1:18.1.8-16build1 [14.4 MB]
100s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm18 ppc64el 1:18.1.8-16build1 [28.6 MB]
101s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm19 ppc64el 1:19.1.7-1ubuntu2 [29.8 MB]
102s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang1-19 ppc64el 1:19.1.7-1ubuntu2 [9141 kB]
102s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnss3 ppc64el 2:3.108-1ubuntu1 [1869 kB]
102s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init all 25.1-0ubuntu1 [2088 B]
103s Preconfiguring packages ...
103s Fetched 99.0 MB in 5s (21.1 MB/s)
103s (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 ... 106370 files and directories currently installed.)
103s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ...
103s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ...
103s Preparing to unpack .../base-files_13.6ubuntu1_ppc64el.deb ...
103s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ...
103s Setting up base-files (13.6ubuntu1) ...
103s Updating /root/.profile to current default.
104s motd-news.service is a disabled or a static unit not running, not starting it.
104s (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 ... 106370 files and directories currently installed.)
104s Preparing to unpack .../perl_5.40.1-2_ppc64el.deb ...
104s Unpacking perl (5.40.1-2) over (5.40.0-8) ...
104s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ...
104s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ...
105s Preparing to unpack .../libperl5.40_5.40.1-2_ppc64el.deb ...
105s Unpacking libperl5.40:ppc64el (5.40.1-2) over (5.40.0-8) ...
105s Preparing to unpack .../perl-base_5.40.1-2_ppc64el.deb ...
105s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ...
105s Setting up perl-base (5.40.1-2) ...
105s (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 ... 106370 files and directories currently installed.)
105s Preparing to unpack .../00-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ...
105s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
105s for fn in glob1(directory, "%s.*" % fname):
105s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
105s Preparing to unpack .../01-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
105s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
105s for fn in glob1(directory, "%s.*" % fname):
105s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
105s Preparing to unpack .../02-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ...
105s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
106s Preparing to unpack .../03-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
106s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
106s Preparing to unpack .../04-gcc-14-base_14.2.0-17ubuntu3_ppc64el.deb ...
106s Unpacking gcc-14-base:ppc64el (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ...
106s Preparing to unpack .../05-libapparmor1_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
106s Unpacking libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
106s Preparing to unpack .../06-libgnutls30t64_3.8.9-2ubuntu2_ppc64el.deb ...
106s Unpacking libgnutls30t64:ppc64el (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ...
106s Preparing to unpack .../07-ucf_3.0050_all.deb ...
106s Unpacking ucf (3.0050) over (3.0049) ...
106s Preparing to unpack .../08-vim-tiny_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
106s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
106s Preparing to unpack .../09-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ...
106s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
106s Preparing to unpack .../10-xxd_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
106s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
106s Preparing to unpack .../11-apparmor_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
107s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
107s Preparing to unpack .../12-lsof_4.99.4+dfsg-2_ppc64el.deb ...
107s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
107s Preparing to unpack .../13-liblsof0_4.99.4+dfsg-2_ppc64el.deb ...
107s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
107s Preparing to unpack .../14-cloud-init-base_25.1-0ubuntu1_all.deb ...
107s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
107s for fn in glob1(directory, "%s.*" % fname):
107s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
107s Preparing to unpack .../15-libclang-cpp18_1%3a18.1.8-16build1_ppc64el.deb ...
107s Unpacking libclang-cpp18 (1:18.1.8-16build1) over (1:18.1.8-15) ...
108s Preparing to unpack .../16-libllvm18_1%3a18.1.8-16build1_ppc64el.deb ...
108s Unpacking libllvm18:ppc64el (1:18.1.8-16build1) over (1:18.1.8-15) ...
109s Preparing to unpack .../17-libllvm19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
109s Unpacking libllvm19:ppc64el (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
110s Preparing to unpack .../18-libclang1-19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
110s Unpacking libclang1-19 (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
110s Preparing to unpack .../19-libnss3_2%3a3.108-1ubuntu1_ppc64el.deb ...
110s Unpacking libnss3:ppc64el (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ...
110s Preparing to unpack .../20-cloud-init_25.1-0ubuntu1_all.deb ...
110s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
110s Setting up libgnutls30t64:ppc64el (3.8.9-2ubuntu2) ...
110s Setting up motd-news-config (13.6ubuntu1) ...
110s Setting up libllvm19:ppc64el (1:19.1.7-1ubuntu2) ...
110s Setting up libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) ...
110s Setting up libclang1-19 (1:19.1.7-1ubuntu2) ...
110s Setting up gcc-14-base:ppc64el (14.2.0-17ubuntu3) ...
110s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ...
110s Setting up liblsof0 (4.99.4+dfsg-2) ...
110s Setting up libnss3:ppc64el (2:3.108-1ubuntu1) ...
110s Setting up cloud-init-base (25.1-0ubuntu1) ...
112s Setting up xxd (2:9.1.0967-1ubuntu2) ...
112s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ...
112s Setting up apparmor (4.1.0~beta5-0ubuntu5) ...
113s Installing new version of config file /etc/apparmor.d/fusermount3 ...
114s Reloading AppArmor profiles
116s Setting up vim-common (2:9.1.0967-1ubuntu2) ...
116s Setting up ucf (3.0050) ...
116s Setting up lsof (4.99.4+dfsg-2) ...
116s Setting up perl-modules-5.40 (5.40.1-2) ...
116s Setting up libllvm18:ppc64el (1:18.1.8-16build1) ...
116s Setting up cloud-init (25.1-0ubuntu1) ...
116s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ...
116s Setting up libperl5.40:ppc64el (5.40.1-2) ...
116s Setting up perl (5.40.1-2) ...
116s Setting up libclang-cpp18 (1:18.1.8-16build1) ...
116s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ...
117s Setting up apport (2.31.0+git20250220-0ubuntu1) ...
118s apport-autoreport.service is a disabled or a static unit not running, not starting it.
118s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ...
118s Processing triggers for install-info (7.1.1-1) ...
118s Processing triggers for libc-bin (2.40-4ubuntu1) ...
118s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ...
119s Processing triggers for systemd (257.2-3ubuntu1) ...
119s Processing triggers for man-db (2.13.0-1) ...
120s Processing triggers for initramfs-tools (0.145ubuntu2) ...
120s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic
121s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
130s Reading package lists...
131s Building dependency tree...
131s Reading state information...
131s Solving dependencies...
131s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
131s autopkgtest [05:20:01]: upgrading testbed (apt dist-upgrade and autopurge)
132s Reading package lists...
132s Building dependency tree...
132s Reading state information...
132s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
132s Starting 2 pkgProblemResolver with broken count: 0
133s Done
133s Entering ResolveByKeep
133s
134s Calculating upgrade...
134s The following packages will be upgraded:
134s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
134s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
134s Need to get 2038 kB of archives.
134s After this operation, 2048 B of additional disk space will be used.
134s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
134s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
135s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
135s Fetched 2038 kB in 1s (2469 kB/s)
135s (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 ... 106371 files and directories currently installed.)
135s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
135s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
135s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
135s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
135s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
135s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
135s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
135s No schema files found: doing nothing.
135s Setting up libglib2.0-data (2.83.4-1) ...
135s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
135s Processing triggers for libc-bin (2.40-4ubuntu1) ...
136s Reading package lists...
136s Building dependency tree...
136s Reading state information...
136s Starting pkgProblemResolver with broken count: 0
136s Starting 2 pkgProblemResolver with broken count: 0
136s Done
137s Solving dependencies...
137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
137s autopkgtest [05:20:07]: rebooting testbed after setup commands that affected boot
174s autopkgtest [05:20:44]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 16:32:08 UTC 2025
177s autopkgtest [05:20:47]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
190s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (dsc) [4812 B]
190s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (tar) [670 kB]
190s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (tar) [5613 kB]
190s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (diff) [138 kB]
191s gpgv: Signature made Fri Feb 21 15:50:37 2025 UTC
191s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D
191s gpgv: Can't check signature: No public key
191s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.83.4-1.dsc: no acceptable signature found
191s autopkgtest [05:21:01]: testing package glib2.0 version 2.83.4-1
204s autopkgtest [05:21:14]: build not needed
217s autopkgtest [05:21:27]: test build: preparing testbed
217s Reading package lists...
218s Building dependency tree...
218s Reading state information...
218s Starting pkgProblemResolver with broken count: 0
218s Starting 2 pkgProblemResolver with broken count: 0
218s Done
218s The following NEW packages will be installed:
218s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu
218s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu
218s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu
218s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev
218s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev
218s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
218s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev
218s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev
218s zlib1g-dev
218s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
218s Need to get 63.3 MB of archives.
218s After this operation, 234 MB of additional disk space will be used.
218s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB]
219s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB]
219s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [10.5 MB]
220s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-17ubuntu3 [1036 B]
220s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B]
220s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB]
220s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 15-20250213-1ubuntu1 [48.7 kB]
220s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 15-20250213-1ubuntu1 [168 kB]
220s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 15-20250213-1ubuntu1 [32.4 kB]
220s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 15-20250213-1ubuntu1 [3009 kB]
220s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 15-20250213-1ubuntu1 [1377 kB]
220s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 15-20250213-1ubuntu1 [2734 kB]
220s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 15-20250213-1ubuntu1 [1234 kB]
220s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 15-20250213-1ubuntu1 [160 kB]
220s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-17ubuntu3 [1619 kB]
220s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [20.6 MB]
222s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-17ubuntu3 [536 kB]
222s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B]
222s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B]
222s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-17ubuntu3 [2678 kB]
222s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [12.0 MB]
222s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-17ubuntu3 [21.8 kB]
222s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B]
222s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B]
222s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B]
222s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB]
223s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB]
223s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB]
223s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB]
223s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB]
223s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB]
223s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B]
223s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB]
223s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu2 [194 kB]
223s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB]
223s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 48~beta-2 [61.8 kB]
223s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB]
223s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB]
223s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB]
223s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB]
223s Get:41 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgio-2.0-dev ppc64el 2.83.4-1 [2161 kB]
223s Fetched 63.3 MB in 5s (13.6 MB/s)
223s Selecting previously unselected package libisl23:ppc64el.
224s (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 ... 106371 files and directories currently installed.)
224s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ...
224s Unpacking libisl23:ppc64el (0.27-1) ...
224s Selecting previously unselected package libmpc3:ppc64el.
224s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ...
224s Unpacking libmpc3:ppc64el (1.3.1-1build2) ...
224s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu.
224s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
224s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
224s Selecting previously unselected package cpp-14.
224s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_ppc64el.deb ...
224s Unpacking cpp-14 (14.2.0-17ubuntu3) ...
224s Selecting previously unselected package cpp-powerpc64le-linux-gnu.
224s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
224s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
224s Selecting previously unselected package cpp.
224s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
224s Unpacking cpp (4:14.2.0-1ubuntu1) ...
224s Selecting previously unselected package libcc1-0:ppc64el.
224s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libcc1-0:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libgomp1:ppc64el.
224s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libgomp1:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libitm1:ppc64el.
224s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libitm1:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libasan8:ppc64el.
224s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libasan8:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package liblsan0:ppc64el.
224s Preparing to unpack .../10-liblsan0_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking liblsan0:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libtsan2:ppc64el.
224s Preparing to unpack .../11-libtsan2_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libtsan2:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libubsan1:ppc64el.
224s Preparing to unpack .../12-libubsan1_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libubsan1:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libquadmath0:ppc64el.
224s Preparing to unpack .../13-libquadmath0_15-20250213-1ubuntu1_ppc64el.deb ...
224s Unpacking libquadmath0:ppc64el (15-20250213-1ubuntu1) ...
224s Selecting previously unselected package libgcc-14-dev:ppc64el.
224s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_ppc64el.deb ...
224s Unpacking libgcc-14-dev:ppc64el (14.2.0-17ubuntu3) ...
224s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu.
224s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
224s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
225s Selecting previously unselected package gcc-14.
225s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_ppc64el.deb ...
225s Unpacking gcc-14 (14.2.0-17ubuntu3) ...
225s Selecting previously unselected package gcc-powerpc64le-linux-gnu.
225s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
225s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
225s Selecting previously unselected package gcc.
225s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
225s Unpacking gcc (4:14.2.0-1ubuntu1) ...
225s Selecting previously unselected package libstdc++-14-dev:ppc64el.
225s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_ppc64el.deb ...
225s Unpacking libstdc++-14-dev:ppc64el (14.2.0-17ubuntu3) ...
225s Selecting previously unselected package g++-14-powerpc64le-linux-gnu.
225s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
225s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
225s Selecting previously unselected package g++-14.
225s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_ppc64el.deb ...
225s Unpacking g++-14 (14.2.0-17ubuntu3) ...
225s Selecting previously unselected package g++-powerpc64le-linux-gnu.
225s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
225s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
225s Selecting previously unselected package g++.
225s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
225s Unpacking g++ (4:14.2.0-1ubuntu1) ...
225s Selecting previously unselected package build-essential.
225s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ...
225s Unpacking build-essential (12.10ubuntu1) ...
225s Selecting previously unselected package libffi-dev:ppc64el.
225s Preparing to unpack .../25-libffi-dev_3.4.7-1_ppc64el.deb ...
225s Unpacking libffi-dev:ppc64el (3.4.7-1) ...
225s Selecting previously unselected package uuid-dev:ppc64el.
225s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ...
225s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ...
225s Selecting previously unselected package libblkid-dev:ppc64el.
225s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ...
225s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ...
225s Selecting previously unselected package libsepol-dev:ppc64el.
225s Preparing to unpack .../28-libsepol-dev_3.7-1_ppc64el.deb ...
225s Unpacking libsepol-dev:ppc64el (3.7-1) ...
225s Selecting previously unselected package libpcre2-16-0:ppc64el.
225s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ...
225s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ...
225s Selecting previously unselected package libpcre2-32-0:ppc64el.
225s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ...
225s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ...
225s Selecting previously unselected package libpcre2-posix3:ppc64el.
225s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ...
225s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ...
225s Selecting previously unselected package libpcre2-dev:ppc64el.
225s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ...
225s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ...
225s Selecting previously unselected package libselinux1-dev:ppc64el.
225s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu2_ppc64el.deb ...
225s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu2) ...
225s Selecting previously unselected package libmount-dev:ppc64el.
225s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ...
225s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ...
225s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el.
225s Preparing to unpack .../35-libsysprof-capture-4-dev_48~beta-2_ppc64el.deb ...
225s Unpacking libsysprof-capture-4-dev:ppc64el (48~beta-2) ...
225s Selecting previously unselected package libpkgconf3:ppc64el.
225s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ...
225s Unpacking libpkgconf3:ppc64el (1.8.1-4) ...
225s Selecting previously unselected package pkgconf-bin.
225s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ...
225s Unpacking pkgconf-bin (1.8.1-4) ...
225s Selecting previously unselected package pkgconf:ppc64el.
225s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ...
225s Unpacking pkgconf:ppc64el (1.8.1-4) ...
225s Selecting previously unselected package zlib1g-dev:ppc64el.
225s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ...
225s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
225s Selecting previously unselected package libgio-2.0-dev:ppc64el.
225s Preparing to unpack .../40-libgio-2.0-dev_2.83.4-1_ppc64el.deb ...
225s Unpacking libgio-2.0-dev:ppc64el (2.83.4-1) ...
226s Setting up libgomp1:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libffi-dev:ppc64el (3.4.7-1) ...
226s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ...
226s Setting up libsysprof-capture-4-dev:ppc64el (48~beta-2) ...
226s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ...
226s Setting up libpkgconf3:ppc64el (1.8.1-4) ...
226s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ...
226s Setting up libquadmath0:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libmpc3:ppc64el (1.3.1-1build2) ...
226s Setting up libsepol-dev:ppc64el (3.7-1) ...
226s Setting up pkgconf-bin (1.8.1-4) ...
226s Setting up libubsan1:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
226s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ...
226s Setting up libasan8:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libtsan2:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libisl23:ppc64el (0.27-1) ...
226s Setting up libcc1-0:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up liblsan0:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libitm1:ppc64el (15-20250213-1ubuntu1) ...
226s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ...
226s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ...
226s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu2) ...
226s Setting up pkgconf:ppc64el (1.8.1-4) ...
226s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
226s Setting up cpp-14 (14.2.0-17ubuntu3) ...
226s Setting up libgcc-14-dev:ppc64el (14.2.0-17ubuntu3) ...
226s Setting up libstdc++-14-dev:ppc64el (14.2.0-17ubuntu3) ...
226s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ...
226s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
226s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
226s Setting up libgio-2.0-dev:ppc64el (2.83.4-1) ...
226s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
226s Setting up gcc-14 (14.2.0-17ubuntu3) ...
226s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
226s Setting up cpp (4:14.2.0-1ubuntu1) ...
226s Setting up g++-14 (14.2.0-17ubuntu3) ...
226s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
226s Setting up gcc (4:14.2.0-1ubuntu1) ...
226s Setting up g++ (4:14.2.0-1ubuntu1) ...
226s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
226s Setting up build-essential (12.10ubuntu1) ...
226s Processing triggers for libc-bin (2.40-4ubuntu1) ...
226s Processing triggers for man-db (2.13.0-1) ...
227s Processing triggers for libglib2.0-0t64:ppc64el (2.83.4-1) ...
227s No schema files found: doing nothing.
227s Processing triggers for install-info (7.1.1-1) ...
228s autopkgtest [05:21:38]: test build: [-----------------------
229s + mode=dynamic
229s + getopt -o --long static -n debian/tests/build --
229s + getopt_temp= --
229s + eval set -- --
229s + set -- --
229s + true
229s + shift
229s + break
229s + mktemp -d
229s + WORKDIR=/tmp/tmp.9YZjcmNIwe
229s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
229s + cd /tmp/tmp.9YZjcmNIwe
229s + [ -n ]
229s + CROSS_COMPILE=
229s + cat
229s + cat
229s + cat
229s + cat
229s + cat
229s + cat
229s + cflags=
229s + pcflags=
229s + packages=glib-2.0
229s + pkg-config --cflags --libs glib-2.0
229s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
229s build (glib, dynamic): OK
229s + echo build (glib, dynamic): OK
229s + [ -x glib-dynamic ]
229s + foo=bar ./glib-dynamic
229s run (glib, dynamic): OK
229s + echo run (glib, dynamic): OK
229s + cflags=
229s + pcflags=
229s + packages=gobject-2.0
229s + pkg-config --cflags --libs gobject-2.0
229s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
229s build (gobject, dynamic): OK
229s + echo build (gobject, dynamic): OK
229s + [ -x gobject-dynamic ]
229s + foo=bar ./gobject-dynamic
229s + echo run (gobject, dynamic): OK
229s + cflags=
229s + pcflags=
229s + packages=gio-2.0
229s + pkg-config --cflags --libs gio-2.0
229s run (gobject, dynamic): OK
229s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
229s build (gio, dynamic): OK
229s run (gio, dynamic): OK
229s + echo build (gio, dynamic): OK
229s + [ -x gio-dynamic ]
229s + foo=bar ./gio-dynamic
229s + echo run (gio, dynamic): OK
229s + cflags=
229s + pcflags=
229s + packages=gio-unix-2.0
229s + pkg-config --cflags --libs gio-unix-2.0
229s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
229s build (gio-unix, dynamic): OK
229s + echo build (gio-unix, dynamic): OK
229s + [ -x gio-unix-dynamic ]
229s + foo=bar ./gio-unix-dynamic
229s + echorun (gio-unix, dynamic): OK
229s run (gio-unix, dynamic): OK
229s + cflags=
229s + pcflags=
229s + packages=gmodule-2.0
229s + pkg-config --cflags --libs gmodule-2.0
229s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
230s build (gmodule, dynamic): OK
230s run (gmodule, dynamic): OK
230s + echo build (gmodule, dynamic): OK
230s + [ -x gmodule-dynamic ]
230s + foo=bar ./gmodule-dynamic
230s + echo run (gmodule, dynamic): OK
230s + cflags=
230s + pcflags=
230s + packages=gthread-2.0
230s + pkg-config --cflags --libs gthread-2.0
230s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
230s build (gthread, dynamic): OK
230s run (gthread, dynamic): OK
230s + echo build (gthread, dynamic): OK
230s + [ -x gthread-dynamic ]
230s + foo=bar ./gthread-dynamic
230s + echo run (gthread, dynamic): OK
230s + rm -rf /tmp/tmp.9YZjcmNIwe
230s autopkgtest [05:21:40]: test build: -----------------------]
231s autopkgtest [05:21:41]: test build: - - - - - - - - - - results - - - - - - - - - -
231s build PASS (superficial)
231s autopkgtest [05:21:41]: test build-static: preparing testbed
231s Reading package lists...
232s Building dependency tree...
232s Reading state information...
232s Starting pkgProblemResolver with broken count: 0
232s Starting 2 pkgProblemResolver with broken count: 0
232s Done
232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
233s autopkgtest [05:21:43]: test build-static: [-----------------------
234s + mode=dynamic
234s + getopt -o --long static -n debian/tests/build -- --static
234s + getopt_temp= --static --
234s + eval set -- --static --
234s + set -- --static --
234s + true
234s + mode=static
234s + shift
234s + continue
234s + true
234s + shift
234s + break
234s + mktemp -d
234s + WORKDIR=/tmp/tmp.aW8eUXksLF
234s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
234s + cd /tmp/tmp.aW8eUXksLF
234s + [ -n ]
234s + CROSS_COMPILE=
234s + cat
234s + cat
234s + cat
234s + cat
234s + cat
234s + cat
234s + cflags=
234s + pcflags=
234s + packages=glib-2.0
234s + cflags=-static
234s + pcflags=--static
234s + pkg-config --static --cflags --libs glib-2.0
234s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
234s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
234s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s build (glib, static): OK
234s run (glib, static): OK
234s + echo build (glib, static): OK
234s + [ -x glib-static ]
234s + foo=bar ./glib-static
234s + echo run (glib, static): OK
234s + cflags=
234s + pcflags=
234s + packages=gobject-2.0
234s + cflags=-static
234s + pcflags=--static
234s + pkg-config --static --cflags --libs gobject-2.0
234s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
234s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
234s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s build (gobject, static): OK
234s run (gobject, static): OK
234s + echo build (gobject, static): OK
234s + [ -x gobject-static ]
234s + foo=bar ./gobject-static
234s + echo run (gobject, static): OK
234s + cflags=
234s + pcflags=
234s + packages=gio-2.0
234s + cflags=-static
234s + pcflags=--static
234s + continue
234s + cflags=
234s + pcflags=
234s + packages=gio-unix-2.0
234s + cflags=-static
234s + pcflags=--static
234s + continue
234s + cflags=
234s + pcflags=
234s + packages=gmodule-2.0
234s + cflags=-static
234s + pcflags=--static
234s + pkg-config --static --cflags --libs gmodule-2.0
234s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
234s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
234s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
234s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
234s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
235s build (gmodule, static): OK
235s run (gmodule, static): OK
235s + echo build (gmodule, static): OK
235s + [ -x gmodule-static ]
235s + foo=bar ./gmodule-static
235s + echo run (gmodule, static): OK
235s + cflags=
235s + pcflags=
235s + packages=gthread-2.0
235s + cflags=-static
235s + pcflags=--static
235s + pkg-config --static --cflags --libs gthread-2.0
235s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
235s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
235s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
235s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
235s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
235s build (gthread, static): OK
235s + echo build (gthread, static): OK
235s + [ -x gthread-static ]
235s + foo=bar ./gthread-static
235s + echo run (gthread, static): OK
235s + rm -rf /tmp/tmp.aW8eUXksLF
235s run (gthread, static): OK
235s autopkgtest [05:21:45]: test build-static: -----------------------]
236s autopkgtest [05:21:46]: test build-static: - - - - - - - - - - results - - - - - - - - - -
236s build-static PASS (superficial)
236s autopkgtest [05:21:46]: test girepository-tools: preparing testbed
332s autopkgtest [05:23:22]: testbed dpkg architecture: ppc64el
332s autopkgtest [05:23:22]: testbed apt version: 2.9.30ubuntu1
333s autopkgtest [05:23:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup
333s autopkgtest [05:23:23]: testbed release detected to be: plucky
334s autopkgtest [05:23:24]: updating testbed package index (apt update)
334s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
334s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
334s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
334s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
334s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
334s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB]
334s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
334s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB]
335s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [125 kB]
335s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
335s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [434 kB]
335s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
335s Fetched 1279 kB in 1s (1367 kB/s)
336s Reading package lists...
337s Reading package lists...
337s Building dependency tree...
337s Reading state information...
337s Calculating upgrade...
337s Calculating upgrade...
337s The following packages will be upgraded:
337s apparmor apport apport-core-dump-handler base-files cloud-init
337s cloud-init-base gcc-14-base libapparmor1 libclang-cpp18 libclang1-19
337s libgnutls30t64 libllvm18 libllvm19 liblsof0 libnss3 libperl5.40 lsof
337s motd-news-config perl perl-base perl-modules-5.40 python3-apport
337s python3-problem-report ucf vim-common vim-tiny xxd
338s 27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
338s Need to get 99.0 MB of archives.
338s After this operation, 56.3 kB disk space will be freed.
338s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el motd-news-config all 13.6ubuntu1 [5168 B]
338s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el base-files ppc64el 13.6ubuntu1 [75.6 kB]
338s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-modules-5.40 all 5.40.1-2 [3217 kB]
339s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libperl5.40 ppc64el 5.40.1-2 [4948 kB]
341s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl ppc64el 5.40.1-2 [262 kB]
341s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-base ppc64el 5.40.1-2 [1923 kB]
342s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB]
342s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB]
342s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB]
342s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB]
342s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-17ubuntu3 [53.6 kB]
342s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libapparmor1 ppc64el 4.1.0~beta5-0ubuntu5 [58.8 kB]
342s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.9-2ubuntu2 [1079 kB]
343s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el ucf all 3.0050 [43.5 kB]
343s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-tiny ppc64el 2:9.1.0967-1ubuntu2 [1079 kB]
343s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-common all 2:9.1.0967-1ubuntu2 [396 kB]
343s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el xxd ppc64el 2:9.1.0967-1ubuntu2 [68.4 kB]
343s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el apparmor ppc64el 4.1.0~beta5-0ubuntu5 [806 kB]
343s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsof ppc64el 4.99.4+dfsg-2 [256 kB]
344s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsof0 ppc64el 4.99.4+dfsg-2 [68.5 kB]
344s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init-base all 25.1-0ubuntu1 [616 kB]
344s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang-cpp18 ppc64el 1:18.1.8-16build1 [14.4 MB]
349s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm18 ppc64el 1:18.1.8-16build1 [28.6 MB]
357s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm19 ppc64el 1:19.1.7-1ubuntu2 [29.8 MB]
362s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang1-19 ppc64el 1:19.1.7-1ubuntu2 [9141 kB]
363s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnss3 ppc64el 2:3.108-1ubuntu1 [1869 kB]
363s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init all 25.1-0ubuntu1 [2088 B]
364s Preconfiguring packages ...
364s Fetched 99.0 MB in 26s (3824 kB/s)
364s (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 ... 106370 files and directories currently installed.)
364s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ...
364s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ...
364s Preparing to unpack .../base-files_13.6ubuntu1_ppc64el.deb ...
364s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ...
364s Setting up base-files (13.6ubuntu1) ...
364s Updating /root/.profile to current default.
365s motd-news.service is a disabled or a static unit not running, not starting it.
365s (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 ... 106370 files and directories currently installed.)
365s Preparing to unpack .../perl_5.40.1-2_ppc64el.deb ...
365s Unpacking perl (5.40.1-2) over (5.40.0-8) ...
365s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ...
365s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ...
365s Preparing to unpack .../libperl5.40_5.40.1-2_ppc64el.deb ...
365s Unpacking libperl5.40:ppc64el (5.40.1-2) over (5.40.0-8) ...
366s Preparing to unpack .../perl-base_5.40.1-2_ppc64el.deb ...
366s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ...
366s Setting up perl-base (5.40.1-2) ...
366s (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 ... 106370 files and directories currently installed.)
366s Preparing to unpack .../00-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ...
366s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
366s for fn in glob1(directory, "%s.*" % fname):
366s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
366s Preparing to unpack .../01-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
366s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
366s for fn in glob1(directory, "%s.*" % fname):
366s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
366s Preparing to unpack .../02-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ...
366s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
366s Preparing to unpack .../03-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
366s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
366s Preparing to unpack .../04-gcc-14-base_14.2.0-17ubuntu3_ppc64el.deb ...
366s Unpacking gcc-14-base:ppc64el (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ...
366s Preparing to unpack .../05-libapparmor1_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
366s Unpacking libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
366s Preparing to unpack .../06-libgnutls30t64_3.8.9-2ubuntu2_ppc64el.deb ...
366s Unpacking libgnutls30t64:ppc64el (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ...
366s Preparing to unpack .../07-ucf_3.0050_all.deb ...
366s Unpacking ucf (3.0050) over (3.0049) ...
366s Preparing to unpack .../08-vim-tiny_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
366s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
366s Preparing to unpack .../09-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ...
366s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
366s Preparing to unpack .../10-xxd_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
366s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
367s Preparing to unpack .../11-apparmor_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
367s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
367s Preparing to unpack .../12-lsof_4.99.4+dfsg-2_ppc64el.deb ...
367s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
367s Preparing to unpack .../13-liblsof0_4.99.4+dfsg-2_ppc64el.deb ...
367s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
368s Preparing to unpack .../14-cloud-init-base_25.1-0ubuntu1_all.deb ...
368s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
368s for fn in glob1(directory, "%s.*" % fname):
368s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
368s Preparing to unpack .../15-libclang-cpp18_1%3a18.1.8-16build1_ppc64el.deb ...
368s Unpacking libclang-cpp18 (1:18.1.8-16build1) over (1:18.1.8-15) ...
368s Preparing to unpack .../16-libllvm18_1%3a18.1.8-16build1_ppc64el.deb ...
368s Unpacking libllvm18:ppc64el (1:18.1.8-16build1) over (1:18.1.8-15) ...
369s Preparing to unpack .../17-libllvm19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
369s Unpacking libllvm19:ppc64el (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
370s Preparing to unpack .../18-libclang1-19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
370s Unpacking libclang1-19 (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
370s Preparing to unpack .../19-libnss3_2%3a3.108-1ubuntu1_ppc64el.deb ...
370s Unpacking libnss3:ppc64el (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ...
370s Preparing to unpack .../20-cloud-init_25.1-0ubuntu1_all.deb ...
370s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
370s Setting up libgnutls30t64:ppc64el (3.8.9-2ubuntu2) ...
370s Setting up motd-news-config (13.6ubuntu1) ...
370s Setting up libllvm19:ppc64el (1:19.1.7-1ubuntu2) ...
370s Setting up libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) ...
370s Setting up libclang1-19 (1:19.1.7-1ubuntu2) ...
370s Setting up gcc-14-base:ppc64el (14.2.0-17ubuntu3) ...
370s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ...
370s Setting up liblsof0 (4.99.4+dfsg-2) ...
370s Setting up libnss3:ppc64el (2:3.108-1ubuntu1) ...
370s Setting up cloud-init-base (25.1-0ubuntu1) ...
372s Setting up xxd (2:9.1.0967-1ubuntu2) ...
372s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ...
372s Setting up apparmor (4.1.0~beta5-0ubuntu5) ...
373s Installing new version of config file /etc/apparmor.d/fusermount3 ...
374s Reloading AppArmor profiles
375s Setting up vim-common (2:9.1.0967-1ubuntu2) ...
375s Setting up ucf (3.0050) ...
375s Setting up lsof (4.99.4+dfsg-2) ...
375s Setting up perl-modules-5.40 (5.40.1-2) ...
375s Setting up libllvm18:ppc64el (1:18.1.8-16build1) ...
375s Setting up cloud-init (25.1-0ubuntu1) ...
375s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ...
375s Setting up libperl5.40:ppc64el (5.40.1-2) ...
375s Setting up perl (5.40.1-2) ...
375s Setting up libclang-cpp18 (1:18.1.8-16build1) ...
375s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ...
376s Setting up apport (2.31.0+git20250220-0ubuntu1) ...
377s apport-autoreport.service is a disabled or a static unit not running, not starting it.
377s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ...
377s Processing triggers for install-info (7.1.1-1) ...
377s Processing triggers for libc-bin (2.40-4ubuntu1) ...
377s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ...
378s Processing triggers for systemd (257.2-3ubuntu1) ...
378s Processing triggers for man-db (2.13.0-1) ...
379s Processing triggers for initramfs-tools (0.145ubuntu2) ...
379s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic
379s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
388s Reading package lists...
388s Building dependency tree...
388s Reading state information...
388s Solving dependencies...
388s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
388s autopkgtest [05:24:18]: upgrading testbed (apt dist-upgrade and autopurge)
389s Reading package lists...
389s Building dependency tree...
389s Reading state information...
389s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
389s Starting 2 pkgProblemResolver with broken count: 0
389s Done
389s Entering ResolveByKeep
390s
390s Calculating upgrade...
390s The following packages will be upgraded:
390s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
390s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
390s Need to get 2038 kB of archives.
390s After this operation, 2048 B of additional disk space will be used.
390s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
390s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
391s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
391s Fetched 2038 kB in 1s (2637 kB/s)
391s (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 ... 106371 files and directories currently installed.)
391s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
391s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
391s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
391s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
391s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
391s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
391s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
391s No schema files found: doing nothing.
391s Setting up libglib2.0-data (2.83.4-1) ...
391s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
391s Processing triggers for libc-bin (2.40-4ubuntu1) ...
392s Reading package lists...
392s Building dependency tree...
392s Reading state information...
392s Starting pkgProblemResolver with broken count: 0
392s Starting 2 pkgProblemResolver with broken count: 0
392s Done
392s Solving dependencies...
392s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
393s autopkgtest [05:24:23]: rebooting testbed after setup commands that affected boot
427s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
447s Reading package lists...
447s Building dependency tree...
447s Reading state information...
447s Starting pkgProblemResolver with broken count: 0
447s Starting 2 pkgProblemResolver with broken count: 0
447s Done
448s The following NEW packages will be installed:
448s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0
448s native-architecture
448s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
448s Need to get 1081 kB of archives.
448s After this operation, 13.0 MB of additional disk space will be used.
448s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.83.4-1 [861 kB]
448s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.5 [2082 B]
448s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.83.4-1 [85.0 kB]
448s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el girepository-tools ppc64el 2.83.4-1 [133 kB]
449s Fetched 1081 kB in 1s (1744 kB/s)
449s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el.
449s (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 ... 106371 files and directories currently installed.)
449s Preparing to unpack .../gir1.2-glib-2.0-dev_2.83.4-1_ppc64el.deb ...
449s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
449s Selecting previously unselected package native-architecture.
449s Preparing to unpack .../native-architecture_0.2.5_all.deb ...
449s Unpacking native-architecture (0.2.5) ...
449s Selecting previously unselected package libgirepository-2.0-0:ppc64el.
449s Preparing to unpack .../libgirepository-2.0-0_2.83.4-1_ppc64el.deb ...
449s Unpacking libgirepository-2.0-0:ppc64el (2.83.4-1) ...
449s Selecting previously unselected package girepository-tools:ppc64el.
449s Preparing to unpack .../girepository-tools_2.83.4-1_ppc64el.deb ...
449s Unpacking girepository-tools:ppc64el (2.83.4-1) ...
449s Setting up native-architecture (0.2.5) ...
449s Setting up libgirepository-2.0-0:ppc64el (2.83.4-1) ...
449s Setting up gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
449s Setting up girepository-tools:ppc64el (2.83.4-1) ...
449s Processing triggers for man-db (2.13.0-1) ...
450s Processing triggers for libc-bin (2.40-4ubuntu1) ...
466s autopkgtest [05:25:36]: test girepository-tools: [-----------------------
466s + cd /tmp/autopkgtest.KiJfL4/autopkgtest_tmp
466s + dpkg-architecture -qDEB_HOST_GNU_TYPE
466s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
466s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu
466s + dpkg-architecture -qDEB_HOST_MULTIARCH
466s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
466s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu
466s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
466s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir
466s typelib: GLib-2.0
466s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
467s autopkgtest [05:25:37]: test girepository-tools: -----------------------]
467s autopkgtest [05:25:37]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
467s girepository-tools PASS (superficial)
468s autopkgtest [05:25:38]: test libgio-2.0-dev-bin: preparing testbed
600s autopkgtest [05:27:50]: testbed dpkg architecture: ppc64el
600s autopkgtest [05:27:50]: testbed apt version: 2.9.30ubuntu1
601s autopkgtest [05:27:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup
601s autopkgtest [05:27:51]: testbed release detected to be: plucky
602s autopkgtest [05:27:52]: updating testbed package index (apt update)
602s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
603s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
603s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
603s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
603s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
603s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB]
603s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
603s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB]
603s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [125 kB]
603s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
603s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [434 kB]
603s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
603s Fetched 1279 kB in 1s (1320 kB/s)
604s Reading package lists...
605s Reading package lists...
605s Building dependency tree...
605s Reading state information...
605s Calculating upgrade...
605s Calculating upgrade...
605s The following packages will be upgraded:
605s apparmor apport apport-core-dump-handler base-files cloud-init
605s cloud-init-base gcc-14-base libapparmor1 libclang-cpp18 libclang1-19
605s libgnutls30t64 libllvm18 libllvm19 liblsof0 libnss3 libperl5.40 lsof
605s motd-news-config perl perl-base perl-modules-5.40 python3-apport
605s python3-problem-report ucf vim-common vim-tiny xxd
606s 27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
606s Need to get 99.0 MB of archives.
606s After this operation, 56.3 kB disk space will be freed.
606s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el motd-news-config all 13.6ubuntu1 [5168 B]
606s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el base-files ppc64el 13.6ubuntu1 [75.6 kB]
606s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-modules-5.40 all 5.40.1-2 [3217 kB]
606s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libperl5.40 ppc64el 5.40.1-2 [4948 kB]
606s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl ppc64el 5.40.1-2 [262 kB]
606s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-base ppc64el 5.40.1-2 [1923 kB]
606s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB]
606s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB]
606s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB]
606s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB]
606s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-17ubuntu3 [53.6 kB]
606s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libapparmor1 ppc64el 4.1.0~beta5-0ubuntu5 [58.8 kB]
606s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.9-2ubuntu2 [1079 kB]
606s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el ucf all 3.0050 [43.5 kB]
606s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-tiny ppc64el 2:9.1.0967-1ubuntu2 [1079 kB]
607s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-common all 2:9.1.0967-1ubuntu2 [396 kB]
607s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el xxd ppc64el 2:9.1.0967-1ubuntu2 [68.4 kB]
607s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el apparmor ppc64el 4.1.0~beta5-0ubuntu5 [806 kB]
607s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsof ppc64el 4.99.4+dfsg-2 [256 kB]
607s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsof0 ppc64el 4.99.4+dfsg-2 [68.5 kB]
607s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init-base all 25.1-0ubuntu1 [616 kB]
607s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang-cpp18 ppc64el 1:18.1.8-16build1 [14.4 MB]
607s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm18 ppc64el 1:18.1.8-16build1 [28.6 MB]
608s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm19 ppc64el 1:19.1.7-1ubuntu2 [29.8 MB]
609s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang1-19 ppc64el 1:19.1.7-1ubuntu2 [9141 kB]
610s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnss3 ppc64el 2:3.108-1ubuntu1 [1869 kB]
610s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init all 25.1-0ubuntu1 [2088 B]
610s Preconfiguring packages ...
610s Fetched 99.0 MB in 4s (23.9 MB/s)
610s (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 ... 106370 files and directories currently installed.)
610s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ...
610s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ...
610s Preparing to unpack .../base-files_13.6ubuntu1_ppc64el.deb ...
610s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ...
611s Setting up base-files (13.6ubuntu1) ...
611s Updating /root/.profile to current default.
611s motd-news.service is a disabled or a static unit not running, not starting it.
611s (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 ... 106370 files and directories currently installed.)
611s Preparing to unpack .../perl_5.40.1-2_ppc64el.deb ...
611s Unpacking perl (5.40.1-2) over (5.40.0-8) ...
611s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ...
611s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ...
612s Preparing to unpack .../libperl5.40_5.40.1-2_ppc64el.deb ...
612s Unpacking libperl5.40:ppc64el (5.40.1-2) over (5.40.0-8) ...
612s Preparing to unpack .../perl-base_5.40.1-2_ppc64el.deb ...
612s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ...
612s Setting up perl-base (5.40.1-2) ...
612s (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 ... 106370 files and directories currently installed.)
612s Preparing to unpack .../00-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ...
612s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
612s for fn in glob1(directory, "%s.*" % fname):
612s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
612s Preparing to unpack .../01-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
612s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
612s for fn in glob1(directory, "%s.*" % fname):
613s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
613s Preparing to unpack .../02-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ...
613s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
613s Preparing to unpack .../03-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
613s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
613s Preparing to unpack .../04-gcc-14-base_14.2.0-17ubuntu3_ppc64el.deb ...
613s Unpacking gcc-14-base:ppc64el (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ...
613s Preparing to unpack .../05-libapparmor1_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
613s Unpacking libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
613s Preparing to unpack .../06-libgnutls30t64_3.8.9-2ubuntu2_ppc64el.deb ...
613s Unpacking libgnutls30t64:ppc64el (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ...
613s Preparing to unpack .../07-ucf_3.0050_all.deb ...
613s Unpacking ucf (3.0050) over (3.0049) ...
613s Preparing to unpack .../08-vim-tiny_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
613s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
613s Preparing to unpack .../09-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ...
613s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
613s Preparing to unpack .../10-xxd_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
613s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
613s Preparing to unpack .../11-apparmor_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
613s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
614s Preparing to unpack .../12-lsof_4.99.4+dfsg-2_ppc64el.deb ...
614s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
614s Preparing to unpack .../13-liblsof0_4.99.4+dfsg-2_ppc64el.deb ...
614s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
614s Preparing to unpack .../14-cloud-init-base_25.1-0ubuntu1_all.deb ...
614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
614s for fn in glob1(directory, "%s.*" % fname):
614s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
614s Preparing to unpack .../15-libclang-cpp18_1%3a18.1.8-16build1_ppc64el.deb ...
614s Unpacking libclang-cpp18 (1:18.1.8-16build1) over (1:18.1.8-15) ...
615s Preparing to unpack .../16-libllvm18_1%3a18.1.8-16build1_ppc64el.deb ...
615s Unpacking libllvm18:ppc64el (1:18.1.8-16build1) over (1:18.1.8-15) ...
615s Preparing to unpack .../17-libllvm19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
615s Unpacking libllvm19:ppc64el (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
616s Preparing to unpack .../18-libclang1-19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
616s Unpacking libclang1-19 (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
616s Preparing to unpack .../19-libnss3_2%3a3.108-1ubuntu1_ppc64el.deb ...
616s Unpacking libnss3:ppc64el (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ...
616s Preparing to unpack .../20-cloud-init_25.1-0ubuntu1_all.deb ...
616s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
616s Setting up libgnutls30t64:ppc64el (3.8.9-2ubuntu2) ...
616s Setting up motd-news-config (13.6ubuntu1) ...
616s Setting up libllvm19:ppc64el (1:19.1.7-1ubuntu2) ...
616s Setting up libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) ...
616s Setting up libclang1-19 (1:19.1.7-1ubuntu2) ...
616s Setting up gcc-14-base:ppc64el (14.2.0-17ubuntu3) ...
616s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ...
616s Setting up liblsof0 (4.99.4+dfsg-2) ...
616s Setting up libnss3:ppc64el (2:3.108-1ubuntu1) ...
616s Setting up cloud-init-base (25.1-0ubuntu1) ...
618s Setting up xxd (2:9.1.0967-1ubuntu2) ...
618s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ...
618s Setting up apparmor (4.1.0~beta5-0ubuntu5) ...
618s Installing new version of config file /etc/apparmor.d/fusermount3 ...
619s Reloading AppArmor profiles
621s Setting up vim-common (2:9.1.0967-1ubuntu2) ...
621s Setting up ucf (3.0050) ...
621s Setting up lsof (4.99.4+dfsg-2) ...
621s Setting up perl-modules-5.40 (5.40.1-2) ...
621s Setting up libllvm18:ppc64el (1:18.1.8-16build1) ...
621s Setting up cloud-init (25.1-0ubuntu1) ...
621s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ...
621s Setting up libperl5.40:ppc64el (5.40.1-2) ...
621s Setting up perl (5.40.1-2) ...
621s Setting up libclang-cpp18 (1:18.1.8-16build1) ...
621s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ...
622s Setting up apport (2.31.0+git20250220-0ubuntu1) ...
623s apport-autoreport.service is a disabled or a static unit not running, not starting it.
623s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ...
623s Processing triggers for install-info (7.1.1-1) ...
623s Processing triggers for libc-bin (2.40-4ubuntu1) ...
623s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ...
623s Processing triggers for systemd (257.2-3ubuntu1) ...
623s Processing triggers for man-db (2.13.0-1) ...
625s Processing triggers for initramfs-tools (0.145ubuntu2) ...
625s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic
625s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
633s Reading package lists...
634s Building dependency tree...
634s Reading state information...
634s Solving dependencies...
634s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
634s autopkgtest [05:28:24]: upgrading testbed (apt dist-upgrade and autopurge)
634s Reading package lists...
634s Building dependency tree...
634s Reading state information...
635s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
635s Starting 2 pkgProblemResolver with broken count: 0
635s Done
635s Entering ResolveByKeep
635s
635s Calculating upgrade...
635s The following packages will be upgraded:
635s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
636s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
636s Need to get 2038 kB of archives.
636s After this operation, 2048 B of additional disk space will be used.
636s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
636s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
636s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
636s Fetched 2038 kB in 1s (3222 kB/s)
636s (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 ... 106371 files and directories currently installed.)
636s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
636s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
636s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
636s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
637s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
637s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
637s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
637s No schema files found: doing nothing.
637s Setting up libglib2.0-data (2.83.4-1) ...
637s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
637s Processing triggers for libc-bin (2.40-4ubuntu1) ...
637s Reading package lists...
637s Building dependency tree...
637s Reading state information...
637s Starting pkgProblemResolver with broken count: 0
637s Starting 2 pkgProblemResolver with broken count: 0
637s Done
638s Solving dependencies...
638s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
638s autopkgtest [05:28:28]: rebooting testbed after setup commands that affected boot
672s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
699s Reading package lists...
699s Building dependency tree...
699s Reading state information...
699s Starting pkgProblemResolver with broken count: 0
699s Starting 2 pkgProblemResolver with broken count: 0
699s Done
700s The following NEW packages will be installed:
700s libgio-2.0-dev-bin python3-packaging
700s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
700s Need to get 183 kB of archives.
700s After this operation, 1068 kB of additional disk space will be used.
700s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB]
700s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgio-2.0-dev-bin ppc64el 2.83.4-1 [131 kB]
700s Fetched 183 kB in 0s (423 kB/s)
701s Selecting previously unselected package python3-packaging.
701s (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 ... 106371 files and directories currently installed.)
701s Preparing to unpack .../python3-packaging_24.2-1_all.deb ...
701s Unpacking python3-packaging (24.2-1) ...
701s Selecting previously unselected package libgio-2.0-dev-bin.
701s Preparing to unpack .../libgio-2.0-dev-bin_2.83.4-1_ppc64el.deb ...
701s Unpacking libgio-2.0-dev-bin (2.83.4-1) ...
701s Setting up python3-packaging (24.2-1) ...
701s Setting up libgio-2.0-dev-bin (2.83.4-1) ...
701s Processing triggers for man-db (2.13.0-1) ...
711s autopkgtest [05:29:41]: test libgio-2.0-dev-bin: [-----------------------
711s + gdbus-codegen --help
711s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
711s [--c-namespace NAMESPACE] [--c-generate-object-manager]
711s [--c-generate-autocleanup {none,objects,all}]
711s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
711s [--generate-rst OUTFILES] [--pragma-once]
711s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
711s [--glib-min-required VERSION]
711s [--glib-max-allowed VERSION]
711s [--symbol-decorator SYMBOL_DECORATOR]
711s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
711s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
711s [--generate-c-code OUTFILES | --header | --body |
711s --interface-info-header | --interface-info-body]
711s [--output FILE | --output-directory OUTDIR]
711s FILE [FILE ...]
711s
711s D-Bus code and documentation generator
711s
711s positional arguments:
711s FILE D-Bus introspection XML file
711s
711s options:
711s -h, --help show this help message and exit
711s --interface-prefix PREFIX
711s String to strip from D-Bus interface names for code
711s and docs
711s --c-namespace NAMESPACE
711s The namespace to use for generated C code
711s --c-generate-object-manager
711s Generate a GDBusObjectManagerClient subclass when
711s generating C code
711s --c-generate-autocleanup {none,objects,all}
711s Generate autocleanup support
711s --generate-docbook OUTFILES
711s Generate Docbook in OUTFILES-org.Project.IFace.xml
711s --generate-md OUTFILES
711s Generate Markdown in OUTFILES-org.Project.IFace.md
711s --generate-rst OUTFILES
711s Generate reStructuredText in OUTFILES-
711s org.Project.IFace.rst
711s --pragma-once Use "pragma once" as the inclusion guard
711s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
711s Add annotation (may be used several times)
711s --glib-min-required VERSION
711s Minimum version of GLib to be supported by the
711s outputted code (default: 2.30)
711s --glib-max-allowed VERSION
711s Maximum version of GLib to be used by the outputted
711s code (default: current GLib version)
711s --symbol-decorator SYMBOL_DECORATOR
711s Macro used to decorate a symbol in the outputted
711s header, possibly to export symbols
711s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
711s Additional header required for decorator specified by
711s --symbol-decorator
711s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
711s Additional define required for decorator specified by
711s --symbol-decorator
711s --generate-c-code OUTFILES
711s Generate C code in OUTFILES.[ch]
711s --header Generate C headers
711s --body Generate C code
711s --interface-info-header
711s Generate GDBusInterfaceInfo C header
711s --interface-info-body
711s Generate GDBusInterfaceInfo C code
711s --output FILE Write output into the specified file
711s --output-directory OUTDIR
711s Location to output generated files
711s + glib-compile-resources --version
711s 2.83.4
711s + glib-genmarshal --version
711s glib-genmarshal version 2.83.4
711s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
711s You may redistribute copies of glib-genmarshal under the terms of
711s the GNU General Public License which can be found in the
711s GLib source package. Sources, examples and contact
711s information are available at http://www.gtk.org
711s + glib-gettextize --version
711s /usr/bin/glib-gettextize (GNU glib) 2.83.4
711s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
711s This is free software; see the source for copying conditions. There is NO
711s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
711s Written by Ulrich Drepper
711s + glib-mkenums --version
711s glib-mkenums version 2.83.4
711s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
711s You may redistribute copies of glib-mkenums under the terms of
711s the GNU General Public License which can be found in the
711s GLib source package. Sources, examples and contact
711s information are available at http://www.gtk.org
711s + gobject-query tree
711s GObject
711s + gtester --version
711s gtester version 2.83.4
711s + gtester-report --version
711s gtester-report (GLib utils) version 2.83.4.
712s autopkgtest [05:29:42]: test libgio-2.0-dev-bin: -----------------------]
712s autopkgtest [05:29:42]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
712s libgio-2.0-dev-bin PASS (superficial)
713s autopkgtest [05:29:43]: test libglib2.0-dev: preparing testbed
846s autopkgtest [05:31:56]: testbed dpkg architecture: ppc64el
846s autopkgtest [05:31:56]: testbed apt version: 2.9.30ubuntu1
846s autopkgtest [05:31:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup
846s autopkgtest [05:31:56]: testbed release detected to be: plucky
847s autopkgtest [05:31:57]: updating testbed package index (apt update)
847s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
848s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
848s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
848s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
848s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
848s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB]
848s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
848s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB]
848s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [125 kB]
848s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
848s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [434 kB]
848s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
848s Fetched 1279 kB in 1s (1385 kB/s)
850s Reading package lists...
850s Reading package lists...
851s Building dependency tree...
851s Reading state information...
851s Calculating upgrade...
851s Calculating upgrade...
851s The following packages will be upgraded:
851s apparmor apport apport-core-dump-handler base-files cloud-init
851s cloud-init-base gcc-14-base libapparmor1 libclang-cpp18 libclang1-19
851s libgnutls30t64 libllvm18 libllvm19 liblsof0 libnss3 libperl5.40 lsof
851s motd-news-config perl perl-base perl-modules-5.40 python3-apport
851s python3-problem-report ucf vim-common vim-tiny xxd
852s 27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
852s Need to get 99.0 MB of archives.
852s After this operation, 56.3 kB disk space will be freed.
852s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el motd-news-config all 13.6ubuntu1 [5168 B]
852s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el base-files ppc64el 13.6ubuntu1 [75.6 kB]
852s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-modules-5.40 all 5.40.1-2 [3217 kB]
853s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libperl5.40 ppc64el 5.40.1-2 [4948 kB]
853s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl ppc64el 5.40.1-2 [262 kB]
853s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el perl-base ppc64el 5.40.1-2 [1923 kB]
854s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB]
854s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB]
854s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB]
854s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB]
854s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-17ubuntu3 [53.6 kB]
854s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libapparmor1 ppc64el 4.1.0~beta5-0ubuntu5 [58.8 kB]
854s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.9-2ubuntu2 [1079 kB]
854s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el ucf all 3.0050 [43.5 kB]
854s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-tiny ppc64el 2:9.1.0967-1ubuntu2 [1079 kB]
854s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-common all 2:9.1.0967-1ubuntu2 [396 kB]
854s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el xxd ppc64el 2:9.1.0967-1ubuntu2 [68.4 kB]
854s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el apparmor ppc64el 4.1.0~beta5-0ubuntu5 [806 kB]
854s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsof ppc64el 4.99.4+dfsg-2 [256 kB]
854s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsof0 ppc64el 4.99.4+dfsg-2 [68.5 kB]
854s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init-base all 25.1-0ubuntu1 [616 kB]
854s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang-cpp18 ppc64el 1:18.1.8-16build1 [14.4 MB]
855s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm18 ppc64el 1:18.1.8-16build1 [28.6 MB]
856s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libllvm19 ppc64el 1:19.1.7-1ubuntu2 [29.8 MB]
857s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libclang1-19 ppc64el 1:19.1.7-1ubuntu2 [9141 kB]
857s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnss3 ppc64el 2:3.108-1ubuntu1 [1869 kB]
857s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el cloud-init all 25.1-0ubuntu1 [2088 B]
858s Preconfiguring packages ...
858s Fetched 99.0 MB in 6s (16.3 MB/s)
858s (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 ... 106370 files and directories currently installed.)
858s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ...
858s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ...
858s Preparing to unpack .../base-files_13.6ubuntu1_ppc64el.deb ...
858s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ...
858s Setting up base-files (13.6ubuntu1) ...
859s Updating /root/.profile to current default.
859s motd-news.service is a disabled or a static unit not running, not starting it.
859s (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 ... 106370 files and directories currently installed.)
859s Preparing to unpack .../perl_5.40.1-2_ppc64el.deb ...
859s Unpacking perl (5.40.1-2) over (5.40.0-8) ...
859s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ...
859s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ...
860s Preparing to unpack .../libperl5.40_5.40.1-2_ppc64el.deb ...
860s Unpacking libperl5.40:ppc64el (5.40.1-2) over (5.40.0-8) ...
860s Preparing to unpack .../perl-base_5.40.1-2_ppc64el.deb ...
860s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ...
860s Setting up perl-base (5.40.1-2) ...
860s (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 ... 106370 files and directories currently installed.)
860s Preparing to unpack .../00-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ...
861s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
861s for fn in glob1(directory, "%s.*" % fname):
861s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
861s Preparing to unpack .../01-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
861s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
861s for fn in glob1(directory, "%s.*" % fname):
861s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
861s Preparing to unpack .../02-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ...
861s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
861s Preparing to unpack .../03-apport_2.31.0+git20250220-0ubuntu1_all.deb ...
861s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.31.0-0ubuntu5) ...
861s Preparing to unpack .../04-gcc-14-base_14.2.0-17ubuntu3_ppc64el.deb ...
861s Unpacking gcc-14-base:ppc64el (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ...
861s Preparing to unpack .../05-libapparmor1_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
861s Unpacking libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
861s Preparing to unpack .../06-libgnutls30t64_3.8.9-2ubuntu2_ppc64el.deb ...
861s Unpacking libgnutls30t64:ppc64el (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ...
861s Preparing to unpack .../07-ucf_3.0050_all.deb ...
861s Unpacking ucf (3.0050) over (3.0049) ...
861s Preparing to unpack .../08-vim-tiny_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
861s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
861s Preparing to unpack .../09-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ...
861s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
861s Preparing to unpack .../10-xxd_2%3a9.1.0967-1ubuntu2_ppc64el.deb ...
861s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ...
861s Preparing to unpack .../11-apparmor_4.1.0~beta5-0ubuntu5_ppc64el.deb ...
862s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ...
862s Preparing to unpack .../12-lsof_4.99.4+dfsg-2_ppc64el.deb ...
862s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
862s Preparing to unpack .../13-liblsof0_4.99.4+dfsg-2_ppc64el.deb ...
862s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ...
862s Preparing to unpack .../14-cloud-init-base_25.1-0ubuntu1_all.deb ...
862s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
862s for fn in glob1(directory, "%s.*" % fname):
863s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
863s Preparing to unpack .../15-libclang-cpp18_1%3a18.1.8-16build1_ppc64el.deb ...
863s Unpacking libclang-cpp18 (1:18.1.8-16build1) over (1:18.1.8-15) ...
863s Preparing to unpack .../16-libllvm18_1%3a18.1.8-16build1_ppc64el.deb ...
863s Unpacking libllvm18:ppc64el (1:18.1.8-16build1) over (1:18.1.8-15) ...
864s Preparing to unpack .../17-libllvm19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
864s Unpacking libllvm19:ppc64el (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
864s Preparing to unpack .../18-libclang1-19_1%3a19.1.7-1ubuntu2_ppc64el.deb ...
864s Unpacking libclang1-19 (1:19.1.7-1ubuntu2) over (1:19.1.7-1ubuntu1) ...
865s Preparing to unpack .../19-libnss3_2%3a3.108-1ubuntu1_ppc64el.deb ...
865s Unpacking libnss3:ppc64el (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ...
865s Preparing to unpack .../20-cloud-init_25.1-0ubuntu1_all.deb ...
865s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ...
865s Setting up libgnutls30t64:ppc64el (3.8.9-2ubuntu2) ...
865s Setting up motd-news-config (13.6ubuntu1) ...
865s Setting up libllvm19:ppc64el (1:19.1.7-1ubuntu2) ...
865s Setting up libapparmor1:ppc64el (4.1.0~beta5-0ubuntu5) ...
865s Setting up libclang1-19 (1:19.1.7-1ubuntu2) ...
865s Setting up gcc-14-base:ppc64el (14.2.0-17ubuntu3) ...
865s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ...
865s Setting up liblsof0 (4.99.4+dfsg-2) ...
865s Setting up libnss3:ppc64el (2:3.108-1ubuntu1) ...
865s Setting up cloud-init-base (25.1-0ubuntu1) ...
867s Setting up xxd (2:9.1.0967-1ubuntu2) ...
867s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ...
867s Setting up apparmor (4.1.0~beta5-0ubuntu5) ...
867s Installing new version of config file /etc/apparmor.d/fusermount3 ...
868s Reloading AppArmor profiles
870s Setting up vim-common (2:9.1.0967-1ubuntu2) ...
870s Setting up ucf (3.0050) ...
870s Setting up lsof (4.99.4+dfsg-2) ...
870s Setting up perl-modules-5.40 (5.40.1-2) ...
870s Setting up libllvm18:ppc64el (1:18.1.8-16build1) ...
870s Setting up cloud-init (25.1-0ubuntu1) ...
870s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ...
870s Setting up libperl5.40:ppc64el (5.40.1-2) ...
870s Setting up perl (5.40.1-2) ...
870s Setting up libclang-cpp18 (1:18.1.8-16build1) ...
870s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ...
872s Setting up apport (2.31.0+git20250220-0ubuntu1) ...
873s apport-autoreport.service is a disabled or a static unit not running, not starting it.
873s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ...
873s Processing triggers for install-info (7.1.1-1) ...
873s Processing triggers for libc-bin (2.40-4ubuntu1) ...
873s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ...
873s Processing triggers for systemd (257.2-3ubuntu1) ...
873s Processing triggers for man-db (2.13.0-1) ...
875s Processing triggers for initramfs-tools (0.145ubuntu2) ...
875s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic
875s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
884s Reading package lists...
885s Building dependency tree...
885s Reading state information...
885s Solving dependencies...
885s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
885s autopkgtest [05:32:35]: upgrading testbed (apt dist-upgrade and autopurge)
885s Reading package lists...
886s Building dependency tree...
886s Reading state information...
886s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
886s Starting 2 pkgProblemResolver with broken count: 0
886s Done
886s Entering ResolveByKeep
887s
887s Calculating upgrade...
887s The following packages will be upgraded:
887s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
887s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
887s Need to get 2038 kB of archives.
887s After this operation, 2048 B of additional disk space will be used.
887s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
887s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
888s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
888s Fetched 2038 kB in 1s (3189 kB/s)
888s (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 ... 106371 files and directories currently installed.)
888s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
888s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
888s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
888s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
888s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
888s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
888s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
888s No schema files found: doing nothing.
888s Setting up libglib2.0-data (2.83.4-1) ...
888s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
888s Processing triggers for libc-bin (2.40-4ubuntu1) ...
888s Reading package lists...
889s Building dependency tree...
889s Reading state information...
889s Starting pkgProblemResolver with broken count: 0
889s Starting 2 pkgProblemResolver with broken count: 0
889s Done
889s Solving dependencies...
890s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
890s autopkgtest [05:32:40]: rebooting testbed after setup commands that affected boot
928s Reading package lists...
928s Building dependency tree...
928s Reading state information...
928s Starting pkgProblemResolver with broken count: 0
928s Starting 2 pkgProblemResolver with broken count: 0
928s Done
929s The following NEW packages will be installed:
929s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu
929s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu
929s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu
929s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8
929s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev
929s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev
929s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3
929s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
929s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev
929s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf
929s pkgconf-bin python3-packaging uuid-dev zlib1g-dev
929s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
929s Need to get 64.7 MB of archives.
929s After this operation, 249 MB of additional disk space will be used.
929s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB]
929s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB]
929s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [10.5 MB]
930s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-17ubuntu3 [1036 B]
930s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [5566 B]
930s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.2.0-1ubuntu1 [22.4 kB]
930s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 15-20250213-1ubuntu1 [48.7 kB]
930s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 15-20250213-1ubuntu1 [168 kB]
930s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 15-20250213-1ubuntu1 [32.4 kB]
930s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 15-20250213-1ubuntu1 [3009 kB]
930s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 15-20250213-1ubuntu1 [1377 kB]
930s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 15-20250213-1ubuntu1 [2734 kB]
930s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 15-20250213-1ubuntu1 [1234 kB]
930s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 15-20250213-1ubuntu1 [160 kB]
930s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-17ubuntu3 [1619 kB]
930s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [20.6 MB]
931s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-17ubuntu3 [536 kB]
931s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [1226 B]
931s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.2.0-1ubuntu1 [5012 B]
931s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-17ubuntu3 [2678 kB]
931s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-17ubuntu3 [12.0 MB]
932s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-17ubuntu3 [21.8 kB]
932s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.2.0-1ubuntu1 [966 B]
932s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.2.0-1ubuntu1 [1088 B]
932s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B]
932s Get:26 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.83.4-1 [861 kB]
932s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.5 [2082 B]
932s Get:28 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.83.4-1 [85.0 kB]
932s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el girepository-tools ppc64el 2.83.4-1 [133 kB]
932s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.7-1 [67.7 kB]
932s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB]
932s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB]
932s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB]
932s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB]
932s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB]
932s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B]
932s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB]
932s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu2 [194 kB]
932s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB]
932s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 48~beta-2 [61.8 kB]
932s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB]
932s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB]
932s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB]
932s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB]
932s Get:45 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgio-2.0-dev ppc64el 2.83.4-1 [2161 kB]
932s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB]
932s Get:47 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgio-2.0-dev-bin ppc64el 2.83.4-1 [131 kB]
932s Get:48 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-bin ppc64el 2.83.4-1 [111 kB]
932s Get:49 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.83.4-1 [18.1 kB]
932s Get:50 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-dev ppc64el 2.83.4-1 [18.9 kB]
933s Fetched 64.7 MB in 3s (19.5 MB/s)
933s Selecting previously unselected package libisl23:ppc64el.
933s (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 ... 106371 files and directories currently installed.)
933s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ...
933s Unpacking libisl23:ppc64el (0.27-1) ...
933s Selecting previously unselected package libmpc3:ppc64el.
933s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ...
933s Unpacking libmpc3:ppc64el (1.3.1-1build2) ...
933s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu.
933s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
933s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
933s Selecting previously unselected package cpp-14.
933s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_ppc64el.deb ...
933s Unpacking cpp-14 (14.2.0-17ubuntu3) ...
933s Selecting previously unselected package cpp-powerpc64le-linux-gnu.
933s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
933s Unpacking cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
933s Selecting previously unselected package cpp.
933s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
933s Unpacking cpp (4:14.2.0-1ubuntu1) ...
933s Selecting previously unselected package libcc1-0:ppc64el.
933s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking libcc1-0:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package libgomp1:ppc64el.
933s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking libgomp1:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package libitm1:ppc64el.
933s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking libitm1:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package libasan8:ppc64el.
933s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking libasan8:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package liblsan0:ppc64el.
933s Preparing to unpack .../10-liblsan0_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking liblsan0:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package libtsan2:ppc64el.
933s Preparing to unpack .../11-libtsan2_15-20250213-1ubuntu1_ppc64el.deb ...
933s Unpacking libtsan2:ppc64el (15-20250213-1ubuntu1) ...
933s Selecting previously unselected package libubsan1:ppc64el.
934s Preparing to unpack .../12-libubsan1_15-20250213-1ubuntu1_ppc64el.deb ...
934s Unpacking libubsan1:ppc64el (15-20250213-1ubuntu1) ...
934s Selecting previously unselected package libquadmath0:ppc64el.
934s Preparing to unpack .../13-libquadmath0_15-20250213-1ubuntu1_ppc64el.deb ...
934s Unpacking libquadmath0:ppc64el (15-20250213-1ubuntu1) ...
934s Selecting previously unselected package libgcc-14-dev:ppc64el.
934s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking libgcc-14-dev:ppc64el (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu.
934s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package gcc-14.
934s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking gcc-14 (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package gcc-powerpc64le-linux-gnu.
934s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
934s Unpacking gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
934s Selecting previously unselected package gcc.
934s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
934s Unpacking gcc (4:14.2.0-1ubuntu1) ...
934s Selecting previously unselected package libstdc++-14-dev:ppc64el.
934s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking libstdc++-14-dev:ppc64el (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package g++-14-powerpc64le-linux-gnu.
934s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package g++-14.
934s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_ppc64el.deb ...
934s Unpacking g++-14 (14.2.0-17ubuntu3) ...
934s Selecting previously unselected package g++-powerpc64le-linux-gnu.
934s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
934s Unpacking g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
934s Selecting previously unselected package g++.
934s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_ppc64el.deb ...
934s Unpacking g++ (4:14.2.0-1ubuntu1) ...
935s Selecting previously unselected package build-essential.
935s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ...
935s Unpacking build-essential (12.10ubuntu1) ...
935s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el.
935s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.83.4-1_ppc64el.deb ...
935s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
935s Selecting previously unselected package native-architecture.
935s Preparing to unpack .../26-native-architecture_0.2.5_all.deb ...
935s Unpacking native-architecture (0.2.5) ...
935s Selecting previously unselected package libgirepository-2.0-0:ppc64el.
935s Preparing to unpack .../27-libgirepository-2.0-0_2.83.4-1_ppc64el.deb ...
935s Unpacking libgirepository-2.0-0:ppc64el (2.83.4-1) ...
935s Selecting previously unselected package girepository-tools:ppc64el.
935s Preparing to unpack .../28-girepository-tools_2.83.4-1_ppc64el.deb ...
935s Unpacking girepository-tools:ppc64el (2.83.4-1) ...
935s Selecting previously unselected package libffi-dev:ppc64el.
935s Preparing to unpack .../29-libffi-dev_3.4.7-1_ppc64el.deb ...
935s Unpacking libffi-dev:ppc64el (3.4.7-1) ...
935s Selecting previously unselected package uuid-dev:ppc64el.
935s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ...
935s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ...
935s Selecting previously unselected package libblkid-dev:ppc64el.
935s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ...
935s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ...
935s Selecting previously unselected package libsepol-dev:ppc64el.
935s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ...
935s Unpacking libsepol-dev:ppc64el (3.7-1) ...
935s Selecting previously unselected package libpcre2-16-0:ppc64el.
935s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ...
935s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ...
935s Selecting previously unselected package libpcre2-32-0:ppc64el.
935s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ...
935s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ...
935s Selecting previously unselected package libpcre2-posix3:ppc64el.
935s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ...
935s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ...
935s Selecting previously unselected package libpcre2-dev:ppc64el.
935s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ...
935s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ...
935s Selecting previously unselected package libselinux1-dev:ppc64el.
935s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu2_ppc64el.deb ...
935s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu2) ...
935s Selecting previously unselected package libmount-dev:ppc64el.
935s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ...
935s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ...
935s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el.
935s Preparing to unpack .../39-libsysprof-capture-4-dev_48~beta-2_ppc64el.deb ...
935s Unpacking libsysprof-capture-4-dev:ppc64el (48~beta-2) ...
935s Selecting previously unselected package libpkgconf3:ppc64el.
935s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ...
935s Unpacking libpkgconf3:ppc64el (1.8.1-4) ...
935s Selecting previously unselected package pkgconf-bin.
935s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ...
935s Unpacking pkgconf-bin (1.8.1-4) ...
935s Selecting previously unselected package pkgconf:ppc64el.
935s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ...
935s Unpacking pkgconf:ppc64el (1.8.1-4) ...
935s Selecting previously unselected package zlib1g-dev:ppc64el.
935s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ...
935s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
935s Selecting previously unselected package libgio-2.0-dev:ppc64el.
935s Preparing to unpack .../44-libgio-2.0-dev_2.83.4-1_ppc64el.deb ...
935s Unpacking libgio-2.0-dev:ppc64el (2.83.4-1) ...
935s Selecting previously unselected package python3-packaging.
935s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ...
935s Unpacking python3-packaging (24.2-1) ...
935s Selecting previously unselected package libgio-2.0-dev-bin.
935s Preparing to unpack .../46-libgio-2.0-dev-bin_2.83.4-1_ppc64el.deb ...
935s Unpacking libgio-2.0-dev-bin (2.83.4-1) ...
935s Selecting previously unselected package libglib2.0-bin.
935s Preparing to unpack .../47-libglib2.0-bin_2.83.4-1_ppc64el.deb ...
935s Unpacking libglib2.0-bin (2.83.4-1) ...
936s Selecting previously unselected package libglib2.0-dev-bin.
936s Preparing to unpack .../48-libglib2.0-dev-bin_2.83.4-1_ppc64el.deb ...
936s Unpacking libglib2.0-dev-bin (2.83.4-1) ...
936s Selecting previously unselected package libglib2.0-dev:ppc64el.
936s Preparing to unpack .../49-libglib2.0-dev_2.83.4-1_ppc64el.deb ...
936s Unpacking libglib2.0-dev:ppc64el (2.83.4-1) ...
936s Setting up native-architecture (0.2.5) ...
936s Setting up libgirepository-2.0-0:ppc64el (2.83.4-1) ...
936s Setting up libglib2.0-bin (2.83.4-1) ...
936s Setting up libgomp1:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libffi-dev:ppc64el (3.4.7-1) ...
936s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ...
936s Setting up libsysprof-capture-4-dev:ppc64el (48~beta-2) ...
936s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ...
936s Setting up python3-packaging (24.2-1) ...
936s Setting up libpkgconf3:ppc64el (1.8.1-4) ...
936s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ...
936s Setting up libquadmath0:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libmpc3:ppc64el (1.3.1-1build2) ...
936s Setting up libsepol-dev:ppc64el (3.7-1) ...
936s Setting up pkgconf-bin (1.8.1-4) ...
936s Setting up libubsan1:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
936s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ...
936s Setting up gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
936s Setting up libasan8:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libtsan2:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libisl23:ppc64el (0.27-1) ...
936s Setting up libcc1-0:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up liblsan0:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libitm1:ppc64el (15-20250213-1ubuntu1) ...
936s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ...
936s Setting up libgio-2.0-dev-bin (2.83.4-1) ...
936s Setting up girepository-tools:ppc64el (2.83.4-1) ...
936s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ...
936s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu2) ...
936s Setting up pkgconf:ppc64el (1.8.1-4) ...
936s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
936s Setting up cpp-14 (14.2.0-17ubuntu3) ...
936s Setting up libgcc-14-dev:ppc64el (14.2.0-17ubuntu3) ...
936s Setting up libstdc++-14-dev:ppc64el (14.2.0-17ubuntu3) ...
936s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ...
936s Setting up cpp-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
936s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
936s Setting up libglib2.0-dev-bin (2.83.4-1) ...
936s Setting up libgio-2.0-dev:ppc64el (2.83.4-1) ...
936s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-17ubuntu3) ...
936s Setting up gcc-14 (14.2.0-17ubuntu3) ...
936s Setting up gcc-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
936s Setting up cpp (4:14.2.0-1ubuntu1) ...
936s Setting up g++-14 (14.2.0-17ubuntu3) ...
936s Setting up g++-powerpc64le-linux-gnu (4:14.2.0-1ubuntu1) ...
936s Setting up gcc (4:14.2.0-1ubuntu1) ...
936s Setting up g++ (4:14.2.0-1ubuntu1) ...
936s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
936s Setting up build-essential (12.10ubuntu1) ...
936s Processing triggers for install-info (7.1.1-1) ...
936s Processing triggers for libc-bin (2.40-4ubuntu1) ...
936s Processing triggers for man-db (2.13.0-1) ...
938s Processing triggers for libglib2.0-0t64:ppc64el (2.83.4-1) ...
938s No schema files found: doing nothing.
938s Setting up libglib2.0-dev:ppc64el (2.83.4-1) ...
948s autopkgtest [05:33:38]: test libglib2.0-dev: [-----------------------
948s + debian/tests/build
948s + mode=dynamic
948s + getopt -o --long static -n debian/tests/build --
948s + getopt_temp= --
948s + eval set -- --
948s + set -- --
948s + true
948s + shift
948s + break
948s + mktemp -d
948s + WORKDIR=/tmp/tmp.h16xZo0S7Z
948s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
948s + cd /tmp/tmp.h16xZo0S7Z
948s + [ -n ]
948s + CROSS_COMPILE=
948s + cat
948s + cat
948s + cat
948s + cat
948s + cat
948s + cat
948s + cflags=
948s + pcflags=
948s + packages=glib-2.0
948s + pkg-config --cflags --libs glib-2.0
948s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
948s build (glib, dynamic): OK
948s run (glib, dynamic): OK
948s + echo build (glib, dynamic): OK
948s + [ -x glib-dynamic ]
948s + foo=bar ./glib-dynamic
948s + echo run (glib, dynamic): OK
948s + cflags=
948s + pcflags=
948s + packages=gobject-2.0
948s + pkg-config --cflags --libs gobject-2.0
948s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
948s build (gobject, dynamic): OK
948s + echo build (gobject, dynamic): OK
948s + [ -x gobject-dynamic ]
948s + foo=bar ./gobject-dynamic
948s run (gobject, dynamic): OK
948s + echo run (gobject, dynamic): OK
948s + cflags=
948s + pcflags=
948s + packages=gio-2.0
948s + pkg-config --cflags --libs gio-2.0
948s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
948s + echo build (gio, dynamic): OK
948s + [ -x gio-dynamic ]
948s + foo=bar ./gio-dynamic
948s build (gio, dynamic): OK
948s + echo run (gio, dynamic): OK
948s + cflags=
948s + pcflags=
948s + packages=gio-unix-2.0
948s + pkg-config --cflags --libs gio-unix-2.0
948s run (gio, dynamic): OK
948s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
949s + echo build (gio-unix, dynamic): OK
949s + [ -x gio-unix-dynamic ]
949s + foo=bar ./gio-unix-dynamic
949s + echo run (gio-unix, dynamic): OK
949s + cflags=
949s + pcflags=
949s + packages=gmodule-2.0
949s + pkg-config --cflags --libs gmodule-2.0
949s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
949s build (gio-unix, dynamic): OK
949s run (gio-unix, dynamic): OK
949s + echo build (gmodule, dynamic): OK
949s + [ -x gmodule-dynamic ]
949s + foo=bar ./gmodule-dynamic
949s + echo run (gmodule, dynamic): OK
949s + cflags=
949s + pcflags=
949s + packages=gthread-2.0
949s + pkg-config --cflags --libs gthread-2.0
949s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
949s build (gmodule, dynamic): OK
949s run (gmodule, dynamic): OK
949s + echo build (gthread, dynamic): OK
949s + [ -x gthread-dynamic ]
949s + foo=bar ./gthread-dynamic
949s + echo run (gthread, dynamic): OK
949s + rm -rf /tmp/tmp.h16xZo0S7Z
949s + debian/tests/build-static
949s + mode=dynamic
949s + getopt -o --long static -n debian/tests/build -- --static
949s + getopt_temp= --static --
949s + eval set -- --static --
949s + set -- --static --
949s + true
949s + mode=static
949s + shift
949s + continue
949s + true
949s + shift
949s + break
949s + mktemp -d
949s + WORKDIR=/tmp/tmp.1pN3oXLaxt
949s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
949s + cd /tmp/tmp.1pN3oXLaxt
949s + [ -n ]
949s + CROSS_COMPILE=
949s + cat
949s + cat
949s + cat
949s + cat
949s + cat
949s + cat
949s + cflags=
949s + pcflags=
949s + packages=glib-2.0
949s + cflags=-static
949s + pcflags=--static
949s + pkg-config --static --cflags --libs glib-2.0
949s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
949s build (gthread, dynamic): OK
949s run (gthread, dynamic): OK
949s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
949s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s + echo build (glib, static): OK
949s + [ -x glib-static ]
949s + foo=bar ./glib-static
949s + echo run (glib, static): OK
949s + cflags=
949s + pcflags=
949s + packages=gobject-2.0
949s + cflags=-static
949s + pcflags=--static
949s + pkg-config --static --cflags --libs gobject-2.0
949s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
949s build (glib, static): OK
949s run (glib, static): OK
949s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
949s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s + echo build (gobject, static): OK
949s + [ -x gobject-static ]
949s + foo=bar ./gobject-static
949s + echo run (gobject, static): OK
949s + cflags=
949s + pcflags=
949s + packages=gio-2.0
949s + cflags=-static
949s + pcflags=--static
949s + continue
949s + cflags=
949s + pcflags=
949s + packages=gio-unix-2.0
949s + cflags=-static
949s + pcflags=--static
949s + continue
949s + cflags=
949s + pcflags=
949s + packages=gmodule-2.0
949s + cflags=-static
949s + pcflags=--static
949s build (gobject, static): OK
949s run (gobject, static): OK
949s + pkg-config --static --cflags --libs gmodule-2.0
949s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
949s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
949s (.text+0x904): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
949s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s + echo build (gmodule, static): OK
949s + [ -x gmodule-static ]
949s + foo=bar ./gmodule-static
949s + echo run (gmodule, static): OK
949s + cflags=
949s + pcflags=
949s + packages=gthread-2.0
949s + cflags=-static
949s + pcflags=--static
949s + pkg-config --static --cflags --libs gthread-2.0
949s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
949s build (gmodule, static): OK
949s run (gmodule, static): OK
949s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
949s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
949s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
950s build (gthread, static): OK
950s run (gthread, static): OK
950s + echo build (gthread, static): OK
950s + [ -x gthread-static ]
950s + foo=bar ./gthread-static
950s + echo run (gthread, static): OK
950s + rm -rf /tmp/tmp.1pN3oXLaxt
950s + debian/tests/girepository-tools
950s + cd /tmp/autopkgtest.KiJfL4/autopkgtest_tmp
950s + dpkg-architecture -qDEB_HOST_GNU_TYPE
950s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu
950s + dpkg-architecture -qDEB_HOST_MULTIARCH
950s typelib: GLib-2.0
950s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu
950s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
950s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir
950s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
950s + debian/tests/libgio-2.0-dev-bin
950s + gdbus-codegen --help
950s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
950s [--c-namespace NAMESPACE] [--c-generate-object-manager]
950s [--c-generate-autocleanup {none,objects,all}]
950s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
950s [--generate-rst OUTFILES] [--pragma-once]
950s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
950s [--glib-min-required VERSION]
950s [--glib-max-allowed VERSION]
950s [--symbol-decorator SYMBOL_DECORATOR]
950s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
950s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
950s [--generate-c-code OUTFILES | --header | --body |
950s --interface-info-header | --interface-info-body]
950s [--output FILE | --output-directory OUTDIR]
950s FILE [FILE ...]
950s
950s D-Bus code and documentation generator
950s
950s positional arguments:
950s FILE D-Bus introspection XML file
950s
950s options:
950s -h, --help show this help message and exit
950s --interface-prefix PREFIX
950s String to strip from D-Bus interface names for code
950s and docs
950s --c-namespace NAMESPACE
950s The namespace to use for generated C code
950s --c-generate-object-manager
950s Generate a GDBusObjectManagerClient subclass when
950s generating C code
950s --c-generate-autocleanup {none,objects,all}
950s Generate autocleanup support
950s --generate-docbook OUTFILES
950s Generate Docbook in OUTFILES-org.Project.IFace.xml
950s --generate-md OUTFILES
950s Generate Markdown in OUTFILES-org.Project.IFace.md
950s --generate-rst OUTFILES
950s Generate reStructuredText in OUTFILES-
950s org.Project.IFace.rst
950s --pragma-once Use "pragma once" as the inclusion guard
950s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
950s Add annotation (may be used several times)
950s --glib-min-required VERSION
950s Minimum version of GLib to be supported by the
950s outputted code (default: 2.30)
950s --glib-max-allowed VERSION
950s Maximum version of GLib to be used by the outputted
950s code (default: current GLib version)
950s --symbol-decorator SYMBOL_DECORATOR
950s Macro used to decorate a symbol in the outputted
950s header, possibly to export symbols
950s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
950s Additional header required for decorator specified by
950s --symbol-decorator
950s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
950s Additional define required for decorator specified by
950s --symbol-decorator
950s --generate-c-code OUTFILES
950s Generate C code in OUTFILES.[ch]
950s --header Generate C headers
950s --body Generate C code
950s --interface-info-header
950s Generate GDBusInterfaceInfo C header
950s --interface-info-body
950s Generate GDBusInterfaceInfo C code
950s --output FILE Write output into the specified file
950s --output-directory OUTDIR
950s Location to output generated files
950s 2.83.4
950s + glib-compile-resources --version
950s + glib-genmarshal --version
950s glib-genmarshal version 2.83.4
950s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
950s You may redistribute copies of glib-genmarshal under the terms of
950s the GNU General Public License which can be found in the
950s GLib source package. Sources, examples and contact
950s information are available at http://www.gtk.org
950s + glib-gettextize --version
950s + glib-mkenums --version
950s /usr/bin/glib-gettextize (GNU glib) 2.83.4
950s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
950s This is free software; see the source for copying conditions. There is NO
950s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
950s Written by Ulrich Drepper
950s glib-mkenums version 2.83.4
950s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
950s You may redistribute copies of glib-mkenums under the terms of
950s the GNU General Public License which can be found in the
950s GLib source package. Sources, examples and contact
950s information are available at http://www.gtk.org
950s GObject
950s gtester version 2.83.4
950s + gobject-query tree
950s + gtester --version
950s + gtester-report --version
950s + cd /tmp/autopkgtest.KiJfL4/autopkgtest_tmp
950s + dpkg-architecture -qDEB_HOST_MULTIARCH
950s gtester-report (GLib utils) version 2.83.4.
950s typelib: GLib-2.0
950s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu
950s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
950s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir
950s + gi-decompile-typelib -o GLib.gir GLib.typelib
951s autopkgtest [05:33:41]: test libglib2.0-dev: -----------------------]
951s autopkgtest [05:33:41]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
951s libglib2.0-dev PASS (superficial)
952s autopkgtest [05:33:42]: test installed-tests: preparing testbed
1091s autopkgtest [05:36:01]: testbed dpkg architecture: ppc64el
1091s autopkgtest [05:36:01]: testbed apt version: 2.9.30ubuntu1
1091s autopkgtest [05:36:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1092s autopkgtest [05:36:02]: testbed release detected to be: plucky
1092s autopkgtest [05:36:02]: updating testbed package index (apt update)
1093s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
1093s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
1093s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
1093s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
1093s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB]
1093s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
1093s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
1093s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB]
1093s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [125 kB]
1094s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
1094s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [434 kB]
1094s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
1094s Fetched 1279 kB in 1s (1267 kB/s)
1095s Reading package lists...
1095s Reading package lists...
1095s Building dependency tree...
1095s Reading state information...
1096s Calculating upgrade...
1096s Calculating upgrade...
1096s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1096s Reading package lists...
1096s Building dependency tree...
1096s Reading state information...
1096s Solving dependencies...
1096s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1096s autopkgtest [05:36:06]: upgrading testbed (apt dist-upgrade and autopurge)
1096s Reading package lists...
1097s Building dependency tree...
1097s Reading state information...
1097s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1097s Starting 2 pkgProblemResolver with broken count: 0
1097s Done
1097s Entering ResolveByKeep
1097s
1098s Calculating upgrade...
1098s The following packages will be upgraded:
1098s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
1098s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1098s Need to get 2038 kB of archives.
1098s After this operation, 2048 B of additional disk space will be used.
1098s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
1098s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
1098s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
1099s Fetched 2038 kB in 1s (2526 kB/s)
1099s (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 ... 106371 files and directories currently installed.)
1099s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
1099s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
1099s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
1099s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
1099s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
1099s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
1099s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
1099s No schema files found: doing nothing.
1099s Setting up libglib2.0-data (2.83.4-1) ...
1099s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
1099s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1100s Reading package lists...
1100s Building dependency tree...
1100s Reading state information...
1100s Starting pkgProblemResolver with broken count: 0
1100s Starting 2 pkgProblemResolver with broken count: 0
1100s Done
1100s Solving dependencies...
1100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1104s Reading package lists...
1104s Building dependency tree...
1104s Reading state information...
1104s Starting pkgProblemResolver with broken count: 0
1104s Starting 2 pkgProblemResolver with broken count: 0
1104s Done
1105s The following NEW packages will be installed:
1105s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools
1105s gnome-desktop-testing libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin
1105s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin
1105s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6
1105s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7
1105s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0
1105s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2
1105s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium
1105s native-architecture python3-dbusmock python3-packaging tzdata-legacy
1105s x11-common x11-xkb-utils xserver-common xvfb
1105s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded.
1105s Need to get 16.8 MB of archives.
1105s After this operation, 101 MB of additional disk space will be used.
1105s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.16.0-1ubuntu1 [24.2 kB]
1105s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB]
1105s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.83.4-1 [861 kB]
1105s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.5 [2082 B]
1105s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.83.4-1 [85.0 kB]
1105s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el girepository-tools ppc64el 2.83.4-1 [133 kB]
1105s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB]
1105s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-radeon1 ppc64el 2.4.123-1 [29.0 kB]
1105s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB]
1105s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.1-3 [42.4 kB]
1105s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglapi-mesa ppc64el 24.3.4-3ubuntu1 [63.6 kB]
1105s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B]
1105s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B]
1105s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B]
1105s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB]
1105s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B]
1105s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB]
1105s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B]
1105s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 24.3.4-3ubuntu1 [9441 kB]
1107s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 24.3.4-3ubuntu1 [39.1 kB]
1107s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB]
1107s Get:22 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libgio-2.0-dev-bin ppc64el 2.83.4-1 [131 kB]
1107s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.4.304.0-1 [163 kB]
1107s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 24.3.4-3ubuntu1 [35.0 kB]
1107s Get:25 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-bin ppc64el 2.83.4-1 [111 kB]
1107s Get:26 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.83.4-1 [18.1 kB]
1107s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.34.0-1 [92.2 kB]
1107s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el tzdata-legacy all 2025a-2ubuntu1 [99.2 kB]
1107s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el libglib2.0-tests ppc64el 2.83.4-1 [2269 kB]
1107s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB]
1107s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B]
1107s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB]
1107s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 24.3.4-3ubuntu1 [176 kB]
1107s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB]
1107s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB]
1107s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB]
1107s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB]
1107s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB]
1107s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB]
1107s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB]
1107s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB]
1107s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB]
1107s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB]
1107s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB]
1107s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB]
1107s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB]
1107s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB]
1107s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB]
1107s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB]
1107s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB]
1107s Get:51 http://ftpmaster.internal/ubuntu plucky/universe ppc64el xvfb ppc64el 2:21.1.14-2ubuntu1 [1095 kB]
1108s Fetched 16.8 MB in 3s (6608 kB/s)
1108s Selecting previously unselected package dbus-x11.
1108s (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 ... 106371 files and directories currently installed.)
1108s Preparing to unpack .../00-dbus-x11_1.16.0-1ubuntu1_ppc64el.deb ...
1108s Unpacking dbus-x11 (1.16.0-1ubuntu1) ...
1108s Selecting previously unselected package desktop-file-utils.
1108s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ...
1108s Unpacking desktop-file-utils (0.28-1) ...
1108s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el.
1108s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.83.4-1_ppc64el.deb ...
1108s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
1108s Selecting previously unselected package native-architecture.
1108s Preparing to unpack .../03-native-architecture_0.2.5_all.deb ...
1108s Unpacking native-architecture (0.2.5) ...
1108s Selecting previously unselected package libgirepository-2.0-0:ppc64el.
1108s Preparing to unpack .../04-libgirepository-2.0-0_2.83.4-1_ppc64el.deb ...
1108s Unpacking libgirepository-2.0-0:ppc64el (2.83.4-1) ...
1108s Selecting previously unselected package girepository-tools:ppc64el.
1108s Preparing to unpack .../05-girepository-tools_2.83.4-1_ppc64el.deb ...
1108s Unpacking girepository-tools:ppc64el (2.83.4-1) ...
1108s Selecting previously unselected package gnome-desktop-testing.
1108s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_ppc64el.deb ...
1108s Unpacking gnome-desktop-testing (2021.1-4) ...
1108s Selecting previously unselected package libdrm-radeon1:ppc64el.
1108s Preparing to unpack .../07-libdrm-radeon1_2.4.123-1_ppc64el.deb ...
1108s Unpacking libdrm-radeon1:ppc64el (2.4.123-1) ...
1108s Selecting previously unselected package libfontenc1:ppc64el.
1108s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ...
1108s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ...
1108s Selecting previously unselected package libwayland-server0:ppc64el.
1108s Preparing to unpack .../09-libwayland-server0_1.23.1-3_ppc64el.deb ...
1108s Unpacking libwayland-server0:ppc64el (1.23.1-3) ...
1108s Selecting previously unselected package libglapi-mesa:ppc64el.
1108s Preparing to unpack .../10-libglapi-mesa_24.3.4-3ubuntu1_ppc64el.deb ...
1108s Unpacking libglapi-mesa:ppc64el (24.3.4-3ubuntu1) ...
1108s Selecting previously unselected package libx11-xcb1:ppc64el.
1108s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ...
1108s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ...
1108s Selecting previously unselected package libxcb-dri3-0:ppc64el.
1108s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2_ppc64el.deb ...
1108s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ...
1108s Selecting previously unselected package libxcb-present0:ppc64el.
1108s Preparing to unpack .../13-libxcb-present0_1.17.0-2_ppc64el.deb ...
1108s Unpacking libxcb-present0:ppc64el (1.17.0-2) ...
1108s Selecting previously unselected package libxcb-randr0:ppc64el.
1108s Preparing to unpack .../14-libxcb-randr0_1.17.0-2_ppc64el.deb ...
1108s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ...
1108s Selecting previously unselected package libxcb-sync1:ppc64el.
1108s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_ppc64el.deb ...
1108s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ...
1108s Selecting previously unselected package libxcb-xfixes0:ppc64el.
1108s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_ppc64el.deb ...
1108s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ...
1108s Selecting previously unselected package libxshmfence1:ppc64el.
1108s Preparing to unpack .../17-libxshmfence1_1.3-1build5_ppc64el.deb ...
1108s Unpacking libxshmfence1:ppc64el (1.3-1build5) ...
1108s Selecting previously unselected package mesa-libgallium:ppc64el.
1108s Preparing to unpack .../18-mesa-libgallium_24.3.4-3ubuntu1_ppc64el.deb ...
1108s Unpacking mesa-libgallium:ppc64el (24.3.4-3ubuntu1) ...
1108s Selecting previously unselected package libgbm1:ppc64el.
1108s Preparing to unpack .../19-libgbm1_24.3.4-3ubuntu1_ppc64el.deb ...
1108s Unpacking libgbm1:ppc64el (24.3.4-3ubuntu1) ...
1108s Selecting previously unselected package python3-packaging.
1108s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ...
1108s Unpacking python3-packaging (24.2-1) ...
1108s Selecting previously unselected package libgio-2.0-dev-bin.
1108s Preparing to unpack .../21-libgio-2.0-dev-bin_2.83.4-1_ppc64el.deb ...
1108s Unpacking libgio-2.0-dev-bin (2.83.4-1) ...
1108s Selecting previously unselected package libvulkan1:ppc64el.
1108s Preparing to unpack .../22-libvulkan1_1.4.304.0-1_ppc64el.deb ...
1108s Unpacking libvulkan1:ppc64el (1.4.304.0-1) ...
1108s Selecting previously unselected package libgl1-mesa-dri:ppc64el.
1108s Preparing to unpack .../23-libgl1-mesa-dri_24.3.4-3ubuntu1_ppc64el.deb ...
1108s Unpacking libgl1-mesa-dri:ppc64el (24.3.4-3ubuntu1) ...
1108s Selecting previously unselected package libglib2.0-bin.
1108s Preparing to unpack .../24-libglib2.0-bin_2.83.4-1_ppc64el.deb ...
1108s Unpacking libglib2.0-bin (2.83.4-1) ...
1108s Selecting previously unselected package libglib2.0-dev-bin.
1108s Preparing to unpack .../25-libglib2.0-dev-bin_2.83.4-1_ppc64el.deb ...
1108s Unpacking libglib2.0-dev-bin (2.83.4-1) ...
1108s Selecting previously unselected package python3-dbusmock.
1108s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ...
1108s Unpacking python3-dbusmock (0.34.0-1) ...
1108s Selecting previously unselected package tzdata-legacy.
1108s Preparing to unpack .../27-tzdata-legacy_2025a-2ubuntu1_all.deb ...
1108s Unpacking tzdata-legacy (2025a-2ubuntu1) ...
1108s Selecting previously unselected package libglib2.0-tests.
1108s Preparing to unpack .../28-libglib2.0-tests_2.83.4-1_ppc64el.deb ...
1108s Unpacking libglib2.0-tests (2.83.4-1) ...
1109s Selecting previously unselected package libxcb-glx0:ppc64el.
1109s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_ppc64el.deb ...
1109s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ...
1109s Selecting previously unselected package libxcb-shm0:ppc64el.
1109s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_ppc64el.deb ...
1109s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ...
1109s Selecting previously unselected package libxxf86vm1:ppc64el.
1109s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ...
1109s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ...
1109s Selecting previously unselected package libglx-mesa0:ppc64el.
1109s Preparing to unpack .../32-libglx-mesa0_24.3.4-3ubuntu1_ppc64el.deb ...
1109s Unpacking libglx-mesa0:ppc64el (24.3.4-3ubuntu1) ...
1109s Selecting previously unselected package x11-common.
1109s Preparing to unpack .../33-x11-common_1%3a7.7+23ubuntu3_all.deb ...
1109s Unpacking x11-common (1:7.7+23ubuntu3) ...
1109s Selecting previously unselected package libice6:ppc64el.
1109s Preparing to unpack .../34-libice6_2%3a1.1.1-1_ppc64el.deb ...
1109s Unpacking libice6:ppc64el (2:1.1.1-1) ...
1109s Selecting previously unselected package libpixman-1-0:ppc64el.
1109s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_ppc64el.deb ...
1109s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ...
1109s Selecting previously unselected package libsm6:ppc64el.
1109s Preparing to unpack .../36-libsm6_2%3a1.2.4-1_ppc64el.deb ...
1109s Unpacking libsm6:ppc64el (2:1.2.4-1) ...
1109s Selecting previously unselected package libxt6t64:ppc64el.
1109s Preparing to unpack .../37-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ...
1109s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ...
1109s Selecting previously unselected package libxmu6:ppc64el.
1109s Preparing to unpack .../38-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ...
1109s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ...
1109s Selecting previously unselected package libxpm4:ppc64el.
1109s Preparing to unpack .../39-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ...
1109s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ...
1109s Selecting previously unselected package libxaw7:ppc64el.
1109s Preparing to unpack .../40-libxaw7_2%3a1.0.16-1_ppc64el.deb ...
1109s Unpacking libxaw7:ppc64el (2:1.0.16-1) ...
1109s Selecting previously unselected package libxfont2:ppc64el.
1109s Preparing to unpack .../41-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ...
1109s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ...
1109s Selecting previously unselected package libxkbfile1:ppc64el.
1109s Preparing to unpack .../42-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ...
1109s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ...
1109s Selecting previously unselected package libxrender1:ppc64el.
1109s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ...
1109s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ...
1109s Selecting previously unselected package libxrandr2:ppc64el.
1109s Preparing to unpack .../44-libxrandr2_2%3a1.5.4-1_ppc64el.deb ...
1109s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ...
1109s Selecting previously unselected package x11-xkb-utils.
1109s Preparing to unpack .../45-x11-xkb-utils_7.7+9_ppc64el.deb ...
1109s Unpacking x11-xkb-utils (7.7+9) ...
1109s Selecting previously unselected package xserver-common.
1109s Preparing to unpack .../46-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ...
1109s Unpacking xserver-common (2:21.1.14-2ubuntu1) ...
1109s Selecting previously unselected package libglvnd0:ppc64el.
1109s Preparing to unpack .../47-libglvnd0_1.7.0-1build1_ppc64el.deb ...
1109s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ...
1109s Selecting previously unselected package libglx0:ppc64el.
1109s Preparing to unpack .../48-libglx0_1.7.0-1build1_ppc64el.deb ...
1109s Unpacking libglx0:ppc64el (1.7.0-1build1) ...
1109s Selecting previously unselected package libgl1:ppc64el.
1109s Preparing to unpack .../49-libgl1_1.7.0-1build1_ppc64el.deb ...
1109s Unpacking libgl1:ppc64el (1.7.0-1build1) ...
1109s Selecting previously unselected package xvfb.
1109s Preparing to unpack .../50-xvfb_2%3a21.1.14-2ubuntu1_ppc64el.deb ...
1109s Unpacking xvfb (2:21.1.14-2ubuntu1) ...
1109s Setting up gnome-desktop-testing (2021.1-4) ...
1109s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ...
1109s Setting up libpixman-1-0:ppc64el (0.44.0-3) ...
1109s Setting up libwayland-server0:ppc64el (1.23.1-3) ...
1109s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ...
1109s Setting up native-architecture (0.2.5) ...
1109s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ...
1109s Setting up desktop-file-utils (0.28-1) ...
1109s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ...
1109s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ...
1109s Setting up libgirepository-2.0-0:ppc64el (2.83.4-1) ...
1109s Setting up libdrm-radeon1:ppc64el (2.4.123-1) ...
1109s Setting up libglvnd0:ppc64el (1.7.0-1build1) ...
1109s Setting up libxcb-glx0:ppc64el (1.17.0-2) ...
1109s Setting up x11-common (1:7.7+23ubuntu3) ...
1109s Setting up libglib2.0-bin (2.83.4-1) ...
1109s Setting up libxcb-shm0:ppc64el (1.17.0-2) ...
1109s Setting up python3-dbusmock (0.34.0-1) ...
1110s Setting up tzdata-legacy (2025a-2ubuntu1) ...
1110s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ...
1110s Setting up libxcb-present0:ppc64el (1.17.0-2) ...
1110s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ...
1110s Setting up python3-packaging (24.2-1) ...
1110s Setting up libxcb-sync1:ppc64el (1.17.0-2) ...
1110s Setting up libxrandr2:ppc64el (2:1.5.4-1) ...
1110s Setting up libglapi-mesa:ppc64el (24.3.4-3ubuntu1) ...
1110s Setting up libvulkan1:ppc64el (1.4.304.0-1) ...
1110s Setting up gir1.2-glib-2.0-dev:ppc64el (2.83.4-1) ...
1110s Setting up libxshmfence1:ppc64el (1.3-1build5) ...
1110s Setting up dbus-x11 (1.16.0-1ubuntu1) ...
1110s Setting up libxcb-randr0:ppc64el (1.17.0-2) ...
1110s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ...
1110s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ...
1110s Setting up libice6:ppc64el (2:1.1.1-1) ...
1110s Setting up mesa-libgallium:ppc64el (24.3.4-3ubuntu1) ...
1110s Setting up libgio-2.0-dev-bin (2.83.4-1) ...
1110s Setting up girepository-tools:ppc64el (2.83.4-1) ...
1110s Setting up libgbm1:ppc64el (24.3.4-3ubuntu1) ...
1110s Setting up libgl1-mesa-dri:ppc64el (24.3.4-3ubuntu1) ...
1110s Setting up libsm6:ppc64el (2:1.2.4-1) ...
1110s Setting up libglib2.0-dev-bin (2.83.4-1) ...
1110s Setting up libglx-mesa0:ppc64el (24.3.4-3ubuntu1) ...
1110s Setting up libglx0:ppc64el (1.7.0-1build1) ...
1110s Setting up libgl1:ppc64el (1.7.0-1build1) ...
1110s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ...
1110s Setting up libglib2.0-tests (2.83.4-1) ...
1110s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ...
1110s Setting up libxaw7:ppc64el (2:1.0.16-1) ...
1110s Setting up x11-xkb-utils (7.7+9) ...
1110s Setting up xserver-common (2:21.1.14-2ubuntu1) ...
1110s Setting up xvfb (2:21.1.14-2ubuntu1) ...
1110s Processing triggers for man-db (2.13.0-1) ...
1111s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1115s autopkgtest [05:36:25]: test installed-tests: [-----------------------
1115s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd)
1115s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
1115s group entry: ubuntu:x:1000:
1115s Environment:
1115s ADTTMP=/tmp/autopkgtest.KiJfL4/autopkgtest_tmp
1115s ADT_ARTIFACTS=/tmp/autopkgtest.KiJfL4/installed-tests-artifacts
1115s ADT_TEST_TRIGGERS=glib2.0/2.83.4-1
1115s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.KiJfL4/installed-tests-artifacts
1115s AUTOPKGTEST_TESTBED_ARCH=ppc64el
1115s AUTOPKGTEST_TEST_ARCH=ppc64el
1115s AUTOPKGTEST_TMP=/tmp/autopkgtest.KiJfL4/autopkgtest_tmp
1115s DEBIAN_FRONTEND=noninteractive
1115s DEB_BUILD_OPTIONS=parallel=2
1115s GIO_USE_VFS=local
1115s GIO_USE_VOLUME_MONITOR=unix
1115s HOME=/home/ubuntu
1115s LANG=C.UTF-8
1115s LOGNAME=ubuntu
1115s MAIL=/var/mail/ubuntu
1115s OLDPWD=/home/ubuntu
1115s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
1115s PWD=/tmp/autopkgtest.KiJfL4/build.2Uo/src
1115s SHELL=/bin/bash
1115s SHLVL=1
1115s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.KiJfL4/wrapper.sh --artifacts=/tmp/autopkgtest.KiJfL4/installed-tests-artifacts --chdir=/tmp/autopkgtest.KiJfL4/build.2Uo/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.KiJfL4/installed-tests-stderr --stdout=/tmp/autopkgtest.KiJfL4/installed-tests-stdout --tmp=/tmp/autopkgtest.KiJfL4/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=glib2.0/2.83.4-1 --make-executable=/tmp/autopkgtest.KiJfL4/build.2Uo/src/debian/tests/installed-tests -- /tmp/autopkgtest.KiJfL4/build.2Uo/src/debian/tests/installed-tests
1115s SUDO_GID=1000
1115s SUDO_UID=1000
1115s SUDO_USER=ubuntu
1115s TERM=linux
1115s USER=ubuntu
1115s XDG_RUNTIME_DIR=/tmp/autopkgtest.KiJfL4/autopkgtest_tmp
1115s http_proxy=http://squid.internal:3128
1115s https_proxy=http://squid.internal:3128
1115s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com
1116s run-with-locales: de_DE=ISO-8859-1...
1116s Character set: ISO-8859-1
1116s Source file: de_DE
1116s Output: /tmp/tmp.rmIGCZStkb/de_DE
1116s run-with-locales: de_DE.utf8...
1116s Character set: UTF-8
1116s Source file: de_DE
1116s Output: /tmp/tmp.rmIGCZStkb/de_DE.utf8
1117s run-with-locales: de_DE@euro.utf8...
1117s Character set: UTF-8
1117s Source file: de_DE@euro
1117s Output: /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8
1119s run-with-locales: el_GR.utf8...
1119s Character set: UTF-8
1119s Source file: el_GR
1119s Output: /tmp/tmp.rmIGCZStkb/el_GR.utf8
1120s run-with-locales: en_GB=ISO-8859-1...
1120s Character set: ISO-8859-1
1120s Source file: en_GB
1120s Output: /tmp/tmp.rmIGCZStkb/en_GB
1121s run-with-locales: en_GB.utf8...
1121s Character set: UTF-8
1121s Source file: en_GB
1121s Output: /tmp/tmp.rmIGCZStkb/en_GB.utf8
1122s run-with-locales: en_US=ISO-8859-1...
1122s Character set: ISO-8859-1
1122s Source file: en_US
1122s Output: /tmp/tmp.rmIGCZStkb/en_US
1122s run-with-locales: en_US.utf8...
1122s Character set: UTF-8
1122s Source file: en_US
1122s Output: /tmp/tmp.rmIGCZStkb/en_US.utf8
1124s run-with-locales: es_ES.utf8...
1124s Character set: UTF-8
1124s Source file: es_ES
1124s Output: /tmp/tmp.rmIGCZStkb/es_ES.utf8
1125s run-with-locales: fa_IR=UTF-8...
1125s Character set: UTF-8
1125s Source file: fa_IR
1125s Output: /tmp/tmp.rmIGCZStkb/fa_IR
1126s run-with-locales: fa_IR.utf8...
1126s Character set: UTF-8
1126s Source file: fa_IR
1126s Output: /tmp/tmp.rmIGCZStkb/fa_IR.utf8
1128s run-with-locales: fr_FR.utf8...
1128s Character set: UTF-8
1128s Source file: fr_FR
1128s Output: /tmp/tmp.rmIGCZStkb/fr_FR.utf8
1129s run-with-locales: hr_HR.utf8...
1129s Character set: UTF-8
1129s Source file: hr_HR
1129s Output: /tmp/tmp.rmIGCZStkb/hr_HR.utf8
1131s run-with-locales: ja_JP.utf8...
1131s Character set: UTF-8
1131s Source file: ja_JP
1131s Output: /tmp/tmp.rmIGCZStkb/ja_JP.utf8
1132s run-with-locales: ja_JP.EUC-JP...
1132s Character set: EUC-JP
1132s Source file: ja_JP
1132s Output: /tmp/tmp.rmIGCZStkb/ja_JP.eucjp
1132s run-with-locales: lt_LT.utf8...
1132s Character set: UTF-8
1132s Source file: lt_LT
1132s Output: /tmp/tmp.rmIGCZStkb/lt_LT.utf8
1134s run-with-locales: pl_PL=ISO-8859-2...
1134s Character set: ISO-8859-2
1134s Source file: pl_PL
1134s Output: /tmp/tmp.rmIGCZStkb/pl_PL
1134s run-with-locales: pl_PL.ISO-8859-2...
1134s Character set: ISO-8859-2
1134s Source file: pl_PL
1134s Output: /tmp/tmp.rmIGCZStkb/pl_PL.iso88592
1134s run-with-locales: pl_PL.utf8...
1134s Character set: UTF-8
1134s Source file: pl_PL
1134s Output: /tmp/tmp.rmIGCZStkb/pl_PL.utf8
1136s run-with-locales: ru_RU=ISO-8859-5...
1136s Character set: ISO-8859-5
1136s Source file: ru_RU
1136s Output: /tmp/tmp.rmIGCZStkb/ru_RU
1136s run-with-locales: ru_RU.utf8...
1136s Character set: UTF-8
1136s Source file: ru_RU
1136s Output: /tmp/tmp.rmIGCZStkb/ru_RU.utf8
1138s run-with-locales: sr_RS=UTF-8...
1138s Character set: UTF-8
1138s Source file: sr_RS
1138s Output: /tmp/tmp.rmIGCZStkb/sr_RS
1139s run-with-locales: sr_RS@latin=UTF-8...
1139s Character set: UTF-8
1139s Source file: sr_RS@latin
1139s Output: /tmp/tmp.rmIGCZStkb/sr_RS@latin
1141s run-with-locales: sv_SE=ISO-8859-1...
1141s Character set: ISO-8859-1
1141s Source file: sv_SE
1141s Output: /tmp/tmp.rmIGCZStkb/sv_SE
1141s run-with-locales: sv_SE.utf8...
1141s Character set: UTF-8
1141s Source file: sv_SE
1141s Output: /tmp/tmp.rmIGCZStkb/sv_SE.utf8
1142s run-with-locales: tr_TR=ISO-8859-9...
1142s Character set: ISO-8859-9
1142s Source file: tr_TR
1142s Output: /tmp/tmp.rmIGCZStkb/tr_TR
1143s run-with-locales: tr_TR.utf8...
1143s Character set: UTF-8
1143s Source file: tr_TR
1143s Output: /tmp/tmp.rmIGCZStkb/tr_TR.utf8
1144s run-with-locales: tt_RU=UTF-8...
1144s Character set: UTF-8
1144s Source file: tt_RU
1144s Output: /tmp/tmp.rmIGCZStkb/tt_RU
1146s run-with-locales: tt_RU.utf8...
1146s Character set: UTF-8
1146s Source file: tt_RU
1146s Output: /tmp/tmp.rmIGCZStkb/tt_RU.utf8
1147s run-with-locales: tt_RU@iqtelif=UTF-8...
1147s Character set: UTF-8
1147s Source file: tt_RU@iqtelif
1147s Output: /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif
1149s /tmp/tmp.rmIGCZStkb
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_US
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_US/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tr_TR
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sr_RS
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ru_RU
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fa_IR
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_GB
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sv_SE
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_TELEPHONE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_IDENTIFICATION
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_TIME
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_CTYPE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_PAPER
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_COLLATE
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_NAME
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_ADDRESS
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_NUMERIC
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_MONETARY
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_MEASUREMENT
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_MESSAGES
1149s /tmp/tmp.rmIGCZStkb/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
1149s 1..323
1149s # Running test: glib/atomic-c-99.test
1149s TAP version 14
1149s # random seed: R02Sc73478e163cd3e0cc7b53e86eeb901c6
1149s 1..2
1149s # Start of atomic tests
1149s ok 1 /atomic/types
1149s ok 2 /atomic/threaded
1149s # End of atomic tests
1149s ok - glib/atomic-c-99.test
1149s # Running test: glib/gdbus-connection-flush.test
1149s TAP version 14
1149s # random seed: R02S1f062310a5ec18a8b060d3cbd4127489
1149s 1..2
1149s # Start of gdbus tests
1149s # Start of connection tests
1149s # Start of flush tests
1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/home
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/cache
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/system-config2
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/config
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/system-data2
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/data
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/state
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/busy/.dirs/runtime
1149s ok 1 /gdbus/connection/flush/busy
1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/home
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/cache
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/system-config2
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/config
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/system-data2
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/data
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/state
1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_296A22/gdbus/connection/flush/idle/.dirs/runtime
1149s ok 2 /gdbus/connection/flush/idle
1149s # End of flush tests
1149s # End of connection tests
1149s # End of gdbus tests
1149s ok - glib/gdbus-connection-flush.test
1149s # Running test: glib/macros-c-99.test
1149s TAP version 14
1149s # random seed: R02S1aafae64aef06b83d220eb84e823379e
1149s 1..4
1149s # Start of C tests
1149s ok 1 /C/standard-99
1149s # End of C tests
1149s # Start of alignof tests
1149s ok 2 /alignof/fallback
1149s # End of alignof tests
1149s # Start of assert tests
1149s ok 3 /assert/static
1149s # End of assert tests
1149s # Start of struct tests
1149s ok 4 /struct/sizeof_member
1149s # End of struct tests
1149s ok - glib/macros-c-99.test
1149s # Running test: glib/memory-output-stream.test
1149s TAP version 14
1149s # random seed: R02S161bfa0c32d7e05c668697e789016faf
1149s 1..10
1149s # Start of memory-output-stream tests
1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
1149s ok 1 /memory-output-stream/truncate
1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
1149s ok 2 /memory-output-stream/get-data-size
1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
1149s ok 3 /memory-output-stream/properties
1149s ok 4 /memory-output-stream/write-bytes
1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
1149s ok 5 /memory-output-stream/write-null
1149s ok 6 /memory-output-stream/writev
1149s ok 7 /memory-output-stream/writev_nonblocking
1149s ok 8 /memory-output-stream/steal_as_bytes
1149s # Start of seek tests
1149s ok 9 /memory-output-stream/seek/fixed
1149s ok 10 /memory-output-stream/seek/resizable
1149s # End of seek tests
1149s # End of memory-output-stream tests
1149s ok - glib/memory-output-stream.test
1149s # Running test: glib/sequence.test
1149s TAP version 14
1149s # random seed: R02S8442cf73b63e6bef738b8a80e7fbdb2d
1149s 1..16
1149s # Start of sequence tests
1149s ok 1 /sequence/out-of-range-jump
1149s ok 2 /sequence/iter-move
1149s ok 3 /sequence/insert-sorted-non-pointer
1149s ok 4 /sequence/stable-sort
1149s ok 5 /sequence/is_empty
1149s # Start of random tests
1150s ok 6 /sequence/random/seed:825541564
1150s # slow test /sequence/random/seed:825541564 executed in 0.73 secs
1150s ok 7 /sequence/random/seed:801678400
1150s # slow test /sequence/random/seed:801678400 executed in 0.68 secs
1151s ok 8 /sequence/random/seed:1477639090
1151s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs
1152s ok 9 /sequence/random/seed:3369132895
1152s # slow test /sequence/random/seed:3369132895 executed in 0.68 secs
1152s ok 10 /sequence/random/seed:1192944867
1152s # slow test /sequence/random/seed:1192944867 executed in 0.69 secs
1153s ok 11 /sequence/random/seed:770458294
1153s # slow test /sequence/random/seed:770458294 executed in 0.73 secs
1153s # Executing: glib/sequence.test
1154s ok 12 /sequence/random/seed:1099575817
1154s # slow test /sequence/random/seed:1099575817 executed in 0.69 secs
1154s ok 13 /sequence/random/seed:590523467
1154s # slow test /sequence/random/seed:590523467 executed in 0.72 secs
1155s ok 14 /sequence/random/seed:3583571454
1155s # slow test /sequence/random/seed:3583571454 executed in 0.73 secs
1156s ok 15 /sequence/random/seed:579241222
1156s # slow test /sequence/random/seed:579241222 executed in 0.79 secs
1157s ok 16 /sequence/random/seed:1733159786
1157s # slow test /sequence/random/seed:1733159786 executed in 0.79 secs
1157s # End of random tests
1157s # End of sequence tests
1157s ok - glib/sequence.test
1157s # Running test: glib/closure.test
1157s TAP version 14
1157s # random seed: R02Sc1a5c1aae5a4a1e7718117f3664023f2
1157s 1..6
1157s # Start of closure tests
1157s ok 1 /closure/idle
1157s ok 2 /closure/timeout
1157s ok 3 /closure/iochannel
1157s ok 4 /closure/child
1157s ok 5 /closure/fd
1157s ok 6 /closure/signal
1157s # End of closure tests
1157s ok - glib/closure.test
1157s # Running test: glib/repository-search-paths.test
1157s TAP version 14
1157s # random seed: R02Sbb1f85742ef3f6e23cd6ef4b38ce4bc4
1157s 1..4
1157s # Start of repository tests
1157s # Start of search-paths tests
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/default/.dirs/runtime
1157s ok 1 /repository/search-paths/default
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RKQE22/repository/search-paths/prepend/.dirs/runtime
1157s ok 2 /repository/search-paths/prepend
1157s # End of search-paths tests
1157s # Start of library-paths tests
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/default/.dirs/runtime
1157s ok 3 /repository/library-paths/default
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RKQE22/repository/library-paths/prepend/.dirs/runtime
1157s ok 4 /repository/library-paths/prepend
1157s # End of library-paths tests
1157s # End of repository tests
1157s ok - glib/repository-search-paths.test
1157s # Running test: glib/atomic-c-11.test
1157s TAP version 14
1157s # random seed: R02S10a980aa01a31b44658e5993e4f68536
1157s 1..2
1157s # Start of atomic tests
1157s ok 1 /atomic/types
1157s ok 2 /atomic/threaded
1157s # End of atomic tests
1157s ok - glib/atomic-c-11.test
1157s # Running test: glib/environment.test
1157s TAP version 14
1157s # random seed: R02S293c4f5a5a1f3fb3416ebcc0fd29fa47
1157s 1..6
1157s # Start of environ tests
1157s # /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.
1157s ok 1 /environ/listenv
1157s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv().
1157s ok 2 /environ/getenv
1157s ok 3 /environ/setenv
1157s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp).
1157s ok 4 /environ/array
1157s # /environ/null summary: Test getting and setting variables on a NULL envp array.
1157s ok 5 /environ/null
1157s # /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.
1157s ok 6 /environ/case
1157s # End of environ tests
1157s ok - glib/environment.test
1157s # Running test: glib/search-utils.test
1157s TAP version 14
1157s # random seed: R02S9cf4153de2ad9e4c58089aaa5468c26e
1157s # GLib-DEBUG: Current user locale: C.UTF-8
1157s 1..6
1157s # Start of search tests
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'he' - 'Hello World' should match: OK
1157s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK
1157s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK
1157s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK
1157s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK
1157s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK
1157s ok 1 /search/basic
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
1157s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK
1157s # GLib-DEBUG: 'ele' - 'élève' should match: OK
1157s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK
1157s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK
1157s ok 2 /search/composed
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
1157s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
1157s ok 3 /search/decomposed
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK
1157s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK
1157s ok 4 /search/turkish
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK
1157s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK
1157s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK
1157s ok 5 /search/c_locale_unicode
1157s # GLib-DEBUG: Started
1157s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK
1157s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK
1157s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK
1157s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK
1157s ok 6 /search/multi_words
1157s # End of search tests
1157s ok - glib/search-utils.test
1157s # Running test: glib/module-test-plugin.test
1157s TAP version 14
1157s # random seed: R02Se8ff6bca62ad1a2802e877486935738f
1157s 1..3
1157s # Start of module tests
1157s ok 1 /module/basics
1157s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
1157s ok 2 /module/invalid-libtool-archive
1157s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
1157s ok 3 /module/local-binding
1157s # End of module tests
1157s ok - glib/module-test-plugin.test
1157s # Running test: glib/credentials.test
1157s TAP version 14
1157s # random seed: R02Sd31ae5fa1510ea94985a05bfb1eb353f
1157s 1..1
1157s # Start of credentials tests
1157s # GCredentials:linux-ucred:pid=2569,uid=1000,gid=1000
1157s # GCredentials:linux-ucred:pid=2569,uid=0,gid=1000
1157s ok 1 /credentials/basic
1157s # End of credentials tests
1157s ok - glib/credentials.test
1157s # Running test: glib/thread-pool-slow.test
1157s TAP version 14
1157s # random seed: R02Se61bbb96a7204d35eccb6bd2fdf47466
1157s 1..7
1157s # Start of threadpool tests
1157s ok 1 /threadpool/functions
1157s ok 2 /threadpool/stop-unused
1157s # slow test /threadpool/stop-unused executed in 0.51 secs
1158s ok 3 /threadpool/pools
1158s # [unsorted] ===> pushed new thread with id:18, number of threads:1, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:71, number of threads:2, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:36, number of threads:3, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:30, number of threads:4, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:20, number of threads:5, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:15, number of threads:6, unprocessed:2
1158s # [unsorted] ===> pushed new thread with id:61, number of threads:7, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:23, number of threads:8, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:99, number of threads:9, unprocessed:1
1158s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:2
1158s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:3
1158s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:4
1158s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:5
1158s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:6
1158s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:7
1158s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:8
1158s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:9
1158s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:10
1158s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:11
1158s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:12
1158s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:13
1158s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:14
1158s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:15
1158s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:16
1158s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:17
1158s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:18
1158s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:19
1158s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:20
1158s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:21
1158s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:22
1158s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:23
1158s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:24
1158s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:25
1158s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:26
1158s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:27
1158s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:28
1158s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:29
1158s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:30
1158s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:31
1158s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:32
1158s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:33
1158s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:34
1158s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:35
1158s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:36
1158s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:37
1158s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:38
1158s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:39
1158s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:40
1158s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:41
1158s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:42
1158s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:43
1158s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:44
1158s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:45
1158s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:46
1158s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:47
1158s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:48
1158s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:49
1158s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:50
1158s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:51
1158s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:52
1158s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:53
1158s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:54
1158s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:55
1158s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:56
1158s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:57
1158s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:58
1158s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:59
1158s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:60
1158s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:61
1158s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:62
1158s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:63
1158s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:64
1158s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:65
1158s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:66
1158s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:67
1158s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:68
1158s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:69
1158s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:70
1158s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:71
1158s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:72
1158s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:73
1158s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:74
1158s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:75
1158s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:76
1158s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:77
1158s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:78
1158s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:79
1158s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:80
1158s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:81
1158s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:82
1158s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:83
1158s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:84
1158s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:85
1158s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:86
1158s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:87
1158s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:88
1158s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:89
1158s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:90
1158s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:91
1158s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:92
1158s ok 4 /threadpool/no-sort
1158s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:1
1158s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:2
1158s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:3
1158s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:4
1158s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:5
1158s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:6
1158s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:7
1158s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:8
1158s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:9
1158s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:10
1158s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:11
1158s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:12
1158s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:13
1158s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:14
1158s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:15
1158s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:16
1158s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:17
1158s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:18
1158s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:19
1158s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:20
1158s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:21
1158s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:22
1158s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:23
1158s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:24
1158s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:25
1158s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:26
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:27
1158s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:28
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:29
1158s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:30
1158s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:31
1158s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:32
1158s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:33
1158s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:34
1158s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:35
1158s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:36
1158s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:37
1158s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:38
1158s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:39
1158s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:40
1158s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:41
1158s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:42
1158s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:43
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:44
1158s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:45
1158s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:46
1158s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:47
1158s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:48
1158s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:49
1158s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:50
1158s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:51
1158s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:52
1158s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:53
1158s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:54
1158s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:55
1158s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:56
1158s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:57
1158s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:58
1158s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:59
1158s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:60
1158s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:61
1158s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:62
1158s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:63
1158s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:64
1158s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:65
1158s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:66
1158s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:67
1158s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:68
1158s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:69
1158s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:70
1158s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:71
1158s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:72
1158s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:73
1158s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:74
1158s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:75
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:76
1158s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:77
1158s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:78
1158s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:79
1158s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:80
1158s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:81
1158s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:82
1158s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83
1158s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:84
1158s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:85
1158s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:86
1158s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:87
1158s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:88
1158s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:89
1158s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:90
1158s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:91
1158s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:92
1158s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:93
1158s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:94
1158s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:95
1158s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:96
1158s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:97
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98
1158s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:99
1158s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:100
1158s # Starting thread pool processing
1158s ok 5 /threadpool/sort
1158s ok 6 /threadpool/stop-unused-multiple
1158s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
1158s # Pool idle thread count: 0, unprocessed jobs: 40
1158s # Executing: glib/thread-pool-slow.test
1159s # Pool idle thread count: 0, unprocessed jobs: 0
1159s # Pool idle thread count: 0, unprocessed jobs: 0
1159s # Pool idle thread count: 10, unprocessed jobs: 0
1159s # Pool idle thread count: 10, unprocessed jobs: 0
1160s # Pool idle thread count: 10, unprocessed jobs: 0
1160s # Pool idle thread count: 10, unprocessed jobs: 0
1160s # Pool idle thread count: 10, unprocessed jobs: 0
1160s # Pool idle thread count: 10, unprocessed jobs: 0
1161s # Pool idle thread count: 10, unprocessed jobs: 0
1161s # Pool idle thread count: 10, unprocessed jobs: 0
1161s # Pool idle thread count: 10, unprocessed jobs: 0
1161s # Pool idle thread count: 10, unprocessed jobs: 0
1162s # Pool idle thread count: 10, unprocessed jobs: 0
1162s # Pool idle thread count: 10, unprocessed jobs: 0
1162s # Pool idle thread count: 10, unprocessed jobs: 0
1162s # Pool idle thread count: 10, unprocessed jobs: 0
1163s # Pool idle thread count: 10, unprocessed jobs: 0
1163s # Pool idle thread count: 10, unprocessed jobs: 0
1163s # Pool idle thread count: 10, unprocessed jobs: 0
1163s # Pool idle thread count: 10, unprocessed jobs: 0
1163s # Executing: glib/thread-pool-slow.test
1164s # Pool idle thread count: 10, unprocessed jobs: 0
1164s # Pool idle thread count: 10, unprocessed jobs: 0
1164s # Pool idle thread count: 10, unprocessed jobs: 0
1164s # Pool idle thread count: 10, unprocessed jobs: 0
1165s # Pool idle thread count: 10, unprocessed jobs: 0
1165s # Pool idle thread count: 10, unprocessed jobs: 0
1165s # Pool idle thread count: 10, unprocessed jobs: 0
1165s # Pool idle thread count: 10, unprocessed jobs: 0
1166s # Pool idle thread count: 10, unprocessed jobs: 0
1166s # Pool idle thread count: 10, unprocessed jobs: 0
1166s # Pool idle thread count: 10, unprocessed jobs: 0
1166s # Pool idle thread count: 10, unprocessed jobs: 0
1167s # Pool idle thread count: 10, unprocessed jobs: 0
1167s # Pool idle thread count: 10, unprocessed jobs: 0
1167s # Pool idle thread count: 10, unprocessed jobs: 2
1167s # Pool idle thread count: 8, unprocessed jobs: 0
1167s # Pool idle thread count: 8, unprocessed jobs: 0
1167s # Pool idle thread count: 8, unprocessed jobs: 0
1168s # Pool idle thread count: 10, unprocessed jobs: 0
1168s # Pool idle thread count: 10, unprocessed jobs: 0
1168s # Pool idle thread count: 10, unprocessed jobs: 0
1168s # Pool idle thread count: 10, unprocessed jobs: 0
1168s # Executing: glib/thread-pool-slow.test
1169s # Pool idle thread count: 10, unprocessed jobs: 0
1169s # Pool idle thread count: 10, unprocessed jobs: 0
1169s # Pool idle thread count: 2, unprocessed jobs: 0
1169s # Pool idle thread count: 2, unprocessed jobs: 0
1170s # Pool idle thread count: 2, unprocessed jobs: 0
1170s # Pool idle thread count: 2, unprocessed jobs: 0
1170s # Pool idle thread count: 2, unprocessed jobs: 0
1170s # Pool idle thread count: 2, unprocessed jobs: 0
1171s # Pool idle thread count: 2, unprocessed jobs: 0
1171s # Pool idle thread count: 2, unprocessed jobs: 0
1171s # Pool idle thread count: 2, unprocessed jobs: 0
1171s # Pool idle thread count: 2, unprocessed jobs: 0
1172s # Pool idle thread count: 2, unprocessed jobs: 0
1172s # Pool idle thread count: 2, unprocessed jobs: 0
1172s # Pool idle thread count: 2, unprocessed jobs: 0
1172s # Pool idle thread count: 2, unprocessed jobs: 0
1173s # Pool idle thread count: 2, unprocessed jobs: 0
1173s # Pool idle thread count: 2, unprocessed jobs: 0
1173s # Pool idle thread count: 2, unprocessed jobs: 0
1173s # Pool idle thread count: 2, unprocessed jobs: 0
1173s # Executing: glib/thread-pool-slow.test
1174s # Pool idle thread count: 2, unprocessed jobs: 0
1174s # Pool idle thread count: 2, unprocessed jobs: 0
1174s # Pool idle thread count: 2, unprocessed jobs: 0
1174s # Pool idle thread count: 2, unprocessed jobs: 0
1175s # Pool idle thread count: 2, unprocessed jobs: 0
1175s # Pool idle thread count: 2, unprocessed jobs: 0
1175s # Pool idle thread count: 2, unprocessed jobs: 0
1175s # Pool idle thread count: 2, unprocessed jobs: 0
1176s # Pool idle thread count: 2, unprocessed jobs: 0
1176s # Pool idle thread count: 2, unprocessed jobs: 0
1176s # Pool idle thread count: 2, unprocessed jobs: 0
1176s # Pool idle thread count: 2, unprocessed jobs: 0
1177s # Pool idle thread count: 2, unprocessed jobs: 0
1177s # Pool idle thread count: 2, unprocessed jobs: 0
1177s # Pool idle thread count: 2, unprocessed jobs: 0
1177s # Pool idle thread count: 2, unprocessed jobs: 0
1178s ok 7 /threadpool/idle-time
1178s # slow test /threadpool/idle-time executed in 19.52 secs
1178s # End of threadpool tests
1178s ok - glib/thread-pool-slow.test
1178s # Running test: glib/atomic-c-89.test
1178s TAP version 14
1178s # random seed: R02S7af8a9acd655f392b9f5ec1ac1b1c50e
1178s 1..2
1178s # Start of atomic tests
1178s ok 1 /atomic/types
1178s ok 2 /atomic/threaded
1178s # End of atomic tests
1178s ok - glib/atomic-c-89.test
1178s # Running test: glib/gdbus-subscribe.test
1178s TAP version 14
1178s # random seed: R02S33f32e78235eebf3d560678e484328da
1178s 1..24
1178s # Start of gdbus tests
1178s # Start of subscribe tests
1178s # Start of conn tests
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/simple/.dirs/runtime
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
1178s # Step 0: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 1 /gdbus/subscribe/conn/simple
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1178s # Step 0: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: service 2
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: service 2
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 1
1178s # Signal received from service 2 :1.2
1178s # Signal received from service 2 :1.2 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Signal received from service 2 :1.2
1178s # Signal received from service 2 :1.2 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/match_twice/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: (any)
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: (any)
1178s # Path: (any)
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 3: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 4: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 3 /gdbus/subscribe/conn/match_twice
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 4 /gdbus/subscribe/conn/limit_by_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1178s # Step 0: adding subscription
1178s # Sender: :0.this.had.better.not.exist
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /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
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: org.gtk.Test.OwnedLater
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 3: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 5: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 6: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Step 7: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 5
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
1178s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1178s # Step 0: adding subscription
1178s # Sender: org.freedesktop.DBus
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # String argument 0: would I lie to you?
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Waiting for signal to reach message bus
1178s # Step 3: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Signal received from message bus org.freedesktop.DBus
1178s # Signal received from (unused) org.freedesktop.DBus via connection
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 7 /gdbus/subscribe/conn/limit_to_message_bus
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Immediately unsubscribing
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately
1178s # End of conn tests
1178s # Start of proxy tests
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/simple/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
1178s # Step 0: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 9 /gdbus/subscribe/proxy/simple
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1178s # Step 0: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: service 2
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: service 2
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/match_twice/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: (any)
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: (any)
1178s # Path: (any)
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 3: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 4: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 11 /gdbus/subscribe/proxy/match_twice
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1178s # Step 0: adding subscription
1178s # Sender: :0.this.had.better.not.exist
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /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
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: org.gtk.Test.OwnedLater
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 3: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 5: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 6: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Step 7: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 5
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
1178s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1178s # Step 0: adding subscription
1178s # Sender: org.freedesktop.DBus
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # String argument 0: would I lie to you?
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Waiting for signal to reach message bus
1178s # Step 3: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Signal received from message bus org.freedesktop.DBus
1178s # Signal received from (unused) org.freedesktop.DBus via proxy
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately
1178s # End of proxy tests
1178s # Start of parallel tests
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/simple/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
1178s # Step 0: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 17 /gdbus/subscribe/parallel/simple
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1178s # Step 0: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: service 2
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: service 2
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 1
1178s # Signal received from service 2 :1.2
1178s # Signal received from service 2 :1.2 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Signal received from service 2 :1.2
1178s # Signal received from service 2 :1.2 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/match_twice/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: adding subscription
1178s # Sender: (any)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: (any)
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: (any)
1178s # Path: (any)
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Cannot subscribe via proxy: no bus name
1178s # Waiting for AddMatch to be processed
1178s # Step 3: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 4: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 4
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
1178s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 19 /gdbus/subscribe/parallel/match_twice
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1178s # Step 0: adding subscription
1178s # Sender: service :1.1
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 3: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 3
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1178s # Step 0: adding subscription
1178s # Sender: :0.this.had.better.not.exist
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /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
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 2: adding subscription
1178s # Sender: org.gtk.Test.OwnedLater
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 3: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 4: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 5: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Step 6: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Step 7: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 5
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 5
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via connection
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 7
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
1178s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
1178s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
1178s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
1178s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1178s # Step 0: adding subscription
1178s # Sender: org.freedesktop.DBus
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 1: emitting signal
1178s # Sender: attacker
1178s # Destination: (broadcast)
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # String argument 0: would I lie to you?
1178s # Waiting for signal to reach message bus
1178s # Step 2: emitting signal
1178s # Sender: attacker
1178s # Destination: subscriber :1.0
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Waiting for signal to reach message bus
1178s # Step 3: claiming bus name
1178s # Name: org.gtk.Test.OwnedLater
1178s # Owner: service
1178s # Signal received from message bus org.freedesktop.DBus
1178s # Signal received from (unused) org.freedesktop.DBus via connection
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Signal received from message bus org.freedesktop.DBus
1178s # Signal received from (unused) org.freedesktop.DBus via proxy
1178s # Path: /org/freedesktop/DBus
1178s # Interface: org.freedesktop.DBus
1178s # Member: NameOwnerChanged
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1178s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
1178s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus
1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_9E4D22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1178s # subscriber is :1.0
1178s # service is :1.1
1178s # service 2 is :1.2
1178s # attacker is :1.3
1178s # Waiting for AddMatch to be processed
1178s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1178s # Step 0: claiming bus name
1178s # Name: org.gtk.Test.AlreadyOwned
1178s # Owner: service
1178s # Step 1: adding subscription
1178s # Sender: org.gtk.Test.AlreadyOwned
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: (any)
1178s # String argument 0: (any)
1178s # Flags: 0
1178s # Subscribing via connection
1178s # Immediately unsubscribing
1178s # Subscribing via proxy
1178s # Waiting for AddMatch to be processed
1178s # Step 2: emitting signal
1178s # Sender: service
1178s # Destination: (broadcast)
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Waiting for signal to reach message bus
1178s # Signal received from service :1.1
1178s # Signal received from service :1.1 via proxy
1178s # Path: /org/gtk/GDBus/ExampleInterface
1178s # Interface: org.gtk.GDBus.ExampleInterface
1178s # Member: Foo
1178s # Argument 0: (not a string)
1178s # Sent in step: 2
1178s # Received Finished signal from subscriber :1.0
1178s # Received Finished signal from service :1.1
1178s # Received Finished signal from service 2 :1.2
1178s # Received Finished signal from attacker :1.3
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1178s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1178s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1178s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1178s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately
1178s # End of parallel tests
1178s # End of subscribe tests
1178s # End of gdbus tests
1178s ok - glib/gdbus-subscribe.test
1178s # Running test: glib/slice.test
1178s TAP version 14
1178s # random seed: R02S9919eb8a7201845d12b52fa66fba042d
1178s 1..3
1178s # Start of slice tests
1178s ok 1 /slice/copy
1178s ok 2 /slice/chain
1178s ok 3 /slice/allocate
1178s # End of slice tests
1178s ok - glib/slice.test
1178s # Running test: glib/gi-compile-repository.py.test
1178s TAP version 13
1178s ok 1 __main__.TestGICompileRepository.test_open_failure
1178s # gir path set to ['/usr/lib/powerpc64le-linux-gnu/gir-1.0', '/usr/share/gir-1.0']
1178s # gi-compile-repository: /usr/bin/gi-compile-repository
1178s # tmpdir: /tmp/tmpz361lcvn
1178s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpz361lcvn/invalid.typelib']
1178s # Return code: 1
1178s # Output:
1178s #
1178s # Error:
1178s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory
1178s # Executing: glib/gi-compile-repository.py.test
1178s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile
1178s # gir path set to ['/usr/lib/powerpc64le-linux-gnu/gir-1.0', '/usr/share/gir-1.0']
1178s # gi-compile-repository: /usr/bin/gi-compile-repository
1178s # tmpdir: /tmp/tmpxbqpcyf1
1178s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpxbqpcyf1/GLib-2.typelib']
1178s # Return code: 0
1178s # Output:
1178s #
1178s # Error:
1179s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
1179s # gi-compile-repository: /usr/bin/gi-compile-repository
1179s # tmpdir: /tmp/tmpwvwyq5fc
1179s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib']
1179s # Return code: 1
1179s # Output:
1179s #
1179s # Error:
1179s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1179s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
1179s # gir path set to ['/usr/lib/powerpc64le-linux-gnu/gir-1.0', '/usr/share/gir-1.0']
1179s # gi-compile-repository: /usr/bin/gi-compile-repository
1179s # tmpdir: /tmp/tmppm1ju6hz
1179s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmppm1ju6hz/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1179s # Return code: 0
1179s # Output:
1179s #
1179s # Error:
1179s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
1179s # gi-compile-repository: /usr/bin/gi-compile-repository
1179s # tmpdir: /tmp/tmpxg4eup3m
1179s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1179s # Return code: 1
1179s # Output:
1179s #
1179s # Error:
1179s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1180s ok 6 __main__.TestGICompileRepositoryForGio.test_compile
1180s # gir path set to ['/usr/lib/powerpc64le-linux-gnu/gir-1.0', '/usr/share/gir-1.0']
1180s # gi-compile-repository: /usr/bin/gi-compile-repository
1180s # tmpdir: /tmp/tmpkhf612jm
1180s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpkhf612jm/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1180s # Return code: 0
1180s # Output:
1180s #
1180s # Error:
1180s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
1180s # gi-compile-repository: /usr/bin/gi-compile-repository
1180s # tmpdir: /tmp/tmpk3dvbw5i
1180s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1180s # Return code: 1
1180s # Output:
1180s #
1180s # Error:
1180s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1180s 1..7
1180s ok - glib/gi-compile-repository.py.test
1180s # Running test: glib/cxx-20.test
1180s TAP version 14
1180s # random seed: R02S330dc9ba658f76fa85140c5afe86eb1a
1180s 1..2
1180s # Start of gtask tests
1180s # 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.
1180s ok 1 /gtask/name
1180s # Start of name tests
1180s # 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.
1180s ok 2 /gtask/name/macro-wrapper
1180s # End of name tests
1180s # End of gtask tests
1180s ok - glib/cxx-20.test
1180s # Running test: glib/include.test
1180s TAP version 14
1180s # random seed: R02Sc70855fb880f88f7b734ebb6fdbb7ad3
1180s 1..1
1180s # Start of include tests
1180s ok 1 /include/rwlock
1180s # End of include tests
1180s ok - glib/include.test
1180s # Running test: glib/unix.test
1180s TAP version 14
1180s # random seed: R02S38eb408e26e5f0fd84a18fd4a805d6e1
1180s 1..20
1180s # Start of glib-unix tests
1180s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
1180s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
1180s ok 1 /glib-unix/closefrom
1180s ok 2 /glib-unix/pipe
1180s # /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
1180s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
1180s ok 3 /glib-unix/pipe-stdio-overwrite
1180s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
1180s ok 4 /glib-unix/pipe-struct
1180s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
1180s ok 5 /glib-unix/pipe-struct-auto
1180s ok 6 /glib-unix/error
1180s ok 7 /glib-unix/nonblocking
1181s ok 8 /glib-unix/sighup
1181s # slow test /glib-unix/sighup executed in 0.50 secs
1181s ok 9 /glib-unix/sigterm
1181s # slow test /glib-unix/sigterm executed in 0.50 secs
1182s ok 10 /glib-unix/sighup_again
1182s # slow test /glib-unix/sighup_again executed in 0.50 secs
1182s ok 11 /glib-unix/sighup_add_remove
1182s ok 12 /glib-unix/sighup_nested
1183s # Executing: glib/unix.test
1184s ok 13 /glib-unix/callback_after_signal
1184s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
1184s ok 14 /glib-unix/child-wait
1184s # Start of closefrom tests
1184s # Start of subprocess tests
1184s # End of subprocess tests
1184s # End of closefrom tests
1184s # Start of pipe tests
1184s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
1184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
1184s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
1184s ok 15 /glib-unix/pipe/fd-cloexec
1184s # End of pipe tests
1184s # Start of sighup tests
1185s ok 16 /glib-unix/sighup/alternate-stack
1185s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
1185s # End of sighup tests
1185s # Start of sigterm tests
1186s ok 17 /glib-unix/sigterm/alternate-stack
1186s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
1186s # End of sigterm tests
1186s # Start of sighup_again tests
1187s ok 18 /glib-unix/sighup_again/alternate-stack
1187s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs
1187s # End of sighup_again tests
1187s # Start of get-passwd-entry tests
1187s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
1187s ok 19 /glib-unix/get-passwd-entry/root
1187s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
1187s ok 20 /glib-unix/get-passwd-entry/nonexistent
1187s # End of get-passwd-entry tests
1187s # End of glib-unix tests
1187s ok - glib/unix.test
1187s # Running test: glib/utils-c-17.test
1187s TAP version 14
1187s # random seed: R02Sa1a6d6c2f126448413da35d6200526e4
1187s 1..41
1187s # Start of utils tests
1187s ok 1 /utils/language-names
1187s ok 2 /utils/locale-variants
1187s ok 3 /utils/version
1187s ok 4 /utils/appname
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1187s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1187s ok 5 /utils/prgname-thread-safety
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1187s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1187s ok 6 /utils/tmpdir
1187s ok 7 /utils/basic_bits
1187s ok 8 /utils/bits
1187s ok 9 /utils/swap
1187s ok 10 /utils/find-program
1187s ok 11 /utils/find-program-for-path
1187s ok 12 /utils/debug
1187s ok 13 /utils/codeset
1187s ok 14 /utils/codeset2
1187s ok 15 /utils/console-charset
1187s ok 16 /utils/gettext
1187s ok 17 /utils/username
1187s ok 18 /utils/realname
1187s ok 19 /utils/hostname
1187s ok 20 /utils/xdgdirs
1187s ok 21 /utils/specialdir
1187s # NAME: Ubuntu
1187s ok 22 /utils/os-info
1187s ok 23 /utils/clear-pointer
1187s ok 24 /utils/clear-pointer-cast
1187s ok 25 /utils/take-pointer
1187s ok 26 /utils/clear-source
1187s ok 27 /utils/misc-mem
1187s # /utils/aligned-mem summary: Aligned memory allocator
1187s # Alignment must not be zero
1187s # Alignment must be a power of two
1187s # Alignment must be a multiple of sizeof(void*)
1187s ok 28 /utils/aligned-mem
1187s # /utils/free-sized summary: Check that g_free_sized() works
1187s ok 29 /utils/free-sized
1187s ok 30 /utils/nullify
1187s ok 31 /utils/atexit
1187s ok 32 /utils/check-setuid
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1187s ok 33 /utils/int-limits
1187s ok 34 /utils/clear-list
1187s ok 35 /utils/clear-slist
1187s ok 36 /utils/steal-handle-id
1187s # Start of specialdir tests
1187s ok 37 /utils/specialdir/desktop
1187s # End of specialdir tests
1187s # Start of clear-pointer tests
1187s ok 38 /utils/clear-pointer/side-effects
1187s # End of clear-pointer tests
1187s # Start of aligned-mem tests
1187s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1187s ok 39 /utils/aligned-mem/alignment
1187s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1187s ok 40 /utils/aligned-mem/zeroed
1187s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1187s ok 41 /utils/aligned-mem/free-sized
1187s # Start of subprocess tests
1187s # End of subprocess tests
1187s # End of aligned-mem tests
1187s # End of utils tests
1187s ok - glib/utils-c-17.test
1187s # Running test: glib/rec-mutex.test
1187s TAP version 14
1187s # random seed: R02S84aeaf868f1cc75e0c8891ce2de83125
1187s 1..29
1187s # Start of thread tests
1187s ok 1 /thread/rec-mutex1
1187s ok 2 /thread/rec-mutex2
1187s ok 3 /thread/rec-mutex3
1187s ok 4 /thread/rec-mutex4
1187s # Start of rec-mutex tests
1187s # Start of perf tests
1187s # Start of uncontended tests
1187s # max perf: 0.500000 mips
1187s ok 5 /thread/rec-mutex/perf/uncontended/depth1
1187s # max perf: inf mips
1187s ok 6 /thread/rec-mutex/perf/uncontended/depth2
1187s # max perf: inf mips
1187s ok 7 /thread/rec-mutex/perf/uncontended/depth3
1187s # max perf: 1.000000 mips
1187s ok 8 /thread/rec-mutex/perf/uncontended/depth4
1187s # max perf: 1.000000 mips
1187s ok 9 /thread/rec-mutex/perf/uncontended/depth5
1187s # End of uncontended tests
1187s # Start of contended1 tests
1187s # max perf: 2.000000 mips
1187s ok 10 /thread/rec-mutex/perf/contended1/depth1
1187s # max perf: 2.000000 mips
1187s ok 11 /thread/rec-mutex/perf/contended1/depth2
1187s # max perf: 2.000000 mips
1187s ok 12 /thread/rec-mutex/perf/contended1/depth3
1187s # max perf: 2.000000 mips
1187s ok 13 /thread/rec-mutex/perf/contended1/depth4
1187s # max perf: 2.000000 mips
1187s ok 14 /thread/rec-mutex/perf/contended1/depth5
1187s # End of contended1 tests
1187s # Start of contended2 tests
1187s # max perf: 3.000000 mips
1187s ok 15 /thread/rec-mutex/perf/contended2/depth1
1187s # max perf: 3.000000 mips
1187s ok 16 /thread/rec-mutex/perf/contended2/depth2
1187s # max perf: 0.333333 mips
1187s ok 17 /thread/rec-mutex/perf/contended2/depth3
1187s # max perf: 3.000000 mips
1187s ok 18 /thread/rec-mutex/perf/contended2/depth4
1187s # max perf: 1.500000 mips
1187s ok 19 /thread/rec-mutex/perf/contended2/depth5
1187s # End of contended2 tests
1187s # Start of contended3 tests
1187s # max perf: 1.333333 mips
1187s ok 20 /thread/rec-mutex/perf/contended3/depth1
1187s # max perf: 1.333333 mips
1187s ok 21 /thread/rec-mutex/perf/contended3/depth2
1187s # max perf: 4.000000 mips
1187s ok 22 /thread/rec-mutex/perf/contended3/depth3
1187s # max perf: 4.000000 mips
1187s ok 23 /thread/rec-mutex/perf/contended3/depth4
1187s # max perf: 0.400000 mips
1187s ok 24 /thread/rec-mutex/perf/contended3/depth5
1187s # End of contended3 tests
1187s # Start of contended4 tests
1187s # max perf: 1.666667 mips
1187s ok 25 /thread/rec-mutex/perf/contended4/depth1
1187s # max perf: 5.000000 mips
1187s ok 26 /thread/rec-mutex/perf/contended4/depth2
1187s # max perf: 5.000000 mips
1187s ok 27 /thread/rec-mutex/perf/contended4/depth3
1187s # max perf: 0.200000 mips
1187s ok 28 /thread/rec-mutex/perf/contended4/depth4
1187s # max perf: 2.500000 mips
1187s ok 29 /thread/rec-mutex/perf/contended4/depth5
1187s # End of contended4 tests
1187s # End of perf tests
1187s # End of rec-mutex tests
1187s # End of thread tests
1187s ok - glib/rec-mutex.test
1187s # Running test: glib/notify-init.test
1187s TAP version 14
1187s # random seed: R02Scc6716b29841a5feb187d1a446c2cc43
1187s 1..1
1187s # Start of properties tests
1187s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1187s ok 1 /properties/notify-in-init
1187s # End of properties tests
1187s ok - glib/notify-init.test
1187s # Running test: glib/hash.test
1187s TAP version 14
1187s # random seed: R02S6839a0ead14b822d6a4b64b8480d0ab6
1187s 1..34
1187s # Start of hash tests
1187s ok 1 /hash/misc
1187s ok 2 /hash/one
1187s ok 3 /hash/honeyman
1187s ok 4 /hash/direct
1187s ok 5 /hash/direct2
1187s ok 6 /hash/int
1187s ok 7 /hash/int64
1187s ok 8 /hash/double
1187s ok 9 /hash/string
1187s ok 10 /hash/set
1187s ok 11 /hash/set-ref
1187s ok 12 /hash/ref
1187s ok 13 /hash/remove-all
1187s ok 14 /hash/recursive-remove-all
1187s ok 15 /hash/find
1187s ok 16 /hash/foreach
1187s ok 17 /hash/foreach-steal
1187s ok 18 /hash/steal-extended
1187s ok 19 /hash/steal-all-keys
1187s ok 20 /hash/steal-all-values
1187s ok 21 /hash/lookup-extended
1187s ok 22 /hash/new-similar
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
1187s ok 23 /hash/lookup-null-key
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
1187s ok 24 /hash/destroy-modify
1187s ok 25 /hash/consistency
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
1187s ok 26 /hash/iter-replace
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
1187s ok 27 /hash/set-insert-corruption
1187s ok 28 /hash/set-to-strv
1187s ok 29 /hash/get-keys-as-ptr-array
1187s ok 30 /hash/get-values-as-ptr-array
1187s ok 31 /hash/primes
1187s # Start of int64 tests
1187s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
1187s ok 32 /hash/int64/collisions
1187s # End of int64 tests
1187s # Start of double tests
1187s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
1187s ok 33 /hash/double/collisions
1187s # End of double tests
1187s # Start of recursive-remove-all tests
1187s # End of recursive-remove-all tests
1187s # Start of steal-extended tests
1187s ok 34 /hash/steal-extended/optional
1187s # End of steal-extended tests
1187s # End of hash tests
1187s ok - glib/hash.test
1187s # Running test: glib/gdbus-serialization.test
1187s TAP version 14
1187s # random seed: R02S2d3038759e36a845cbff7b3b97a03592
1187s 1..18
1187s # Start of gdbus tests
1187s # Start of message-serialize tests
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/basic/.dirs/runtime
1187s ok 1 /gdbus/message-serialize/basic
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/complex/.dirs/runtime
1187s ok 2 /gdbus/message-serialize/complex
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/invalid/.dirs/runtime
1187s ok 3 /gdbus/message-serialize/invalid
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/.dirs/runtime
1187s ok 4 /gdbus/message-serialize/header-checks
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/double-array/.dirs/runtime
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
1187s ok 5 /gdbus/message-serialize/double-array
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/empty-structure/.dirs/runtime
1187s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1187s ok 6 /gdbus/message-serialize/empty-structure
1187s # Start of header-checks tests
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-serialize/header-checks/valid/.dirs/runtime
1187s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
1187s ok 7 /gdbus/message-serialize/header-checks/valid
1187s # End of header-checks tests
1187s # End of message-serialize tests
1187s # Start of message-parse tests
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
1187s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/non-signature-header/.dirs/runtime
1187s ok 9 /gdbus/message-parse/non-signature-header
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-signature-header/.dirs/runtime
1187s ok 10 /gdbus/message-parse/empty-signature-header
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/multiple-signature-header/.dirs/runtime
1187s ok 11 /gdbus/message-parse/multiple-signature-header
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/over-long-signature-header/.dirs/runtime
1187s ok 12 /gdbus/message-parse/over-long-signature-header
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-header-nesting/.dirs/runtime
1187s ok 13 /gdbus/message-parse/deep-header-nesting
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/deep-body-nesting/.dirs/runtime
1187s ok 14 /gdbus/message-parse/deep-body-nesting
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/truncated/.dirs/runtime
1187s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
1187s ok 15 /gdbus/message-parse/truncated
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/empty-structure/.dirs/runtime
1187s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1187s ok 16 /gdbus/message-parse/empty-structure
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/missing-header/.dirs/runtime
1187s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1187s ok 17 /gdbus/message-parse/missing-header
1187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/home
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/cache
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/system-config2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/config
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/system-data2
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/data
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/state
1187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ISG012/gdbus/message-parse/invalid-header-type/.dirs/runtime
1187s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1187s ok 18 /gdbus/message-parse/invalid-header-type
1187s # End of message-parse tests
1187s # End of gdbus tests
1187s ok - glib/gdbus-serialization.test
1187s # Running test: glib/signal-handler.test
1187s TAP version 14
1187s # random seed: R02Sf698d1f9d0eaeab761e25f8a1a19e6a5
1187s 1..7
1187s # Start of signal tests
1187s # Start of handler tests
1187s # min perf: connected 1 handlers in 0.000 seconds
1187s ok 1 /signal/handler/connect-many
1187s # min perf: disconnected 1 handlers in 0.000 seconds
1187s ok 2 /signal/handler/disconnect-many-ordered
1187s # min perf: disconnected 1 handlers in 0.000 seconds
1187s ok 3 /signal/handler/disconnect-many-inverse
1187s # min perf: disconnected 1 handlers in 0.000 seconds
1187s ok 4 /signal/handler/disconnect-many-random
1187s # min perf: disconnected 1 handlers in 0.000 seconds
1187s ok 5 /signal/handler/disconnect-2-signals
1187s # min perf: disconnected 1 handlers in 0.000 seconds
1187s ok 6 /signal/handler/disconnect-2-objects
1187s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
1187s ok 7 /signal/handler/block-many
1187s # End of handler tests
1187s # End of signal tests
1187s ok - glib/signal-handler.test
1187s # Running test: glib/gobject-private.test
1187s TAP version 14
1187s # random seed: R02S650ed76b03af17d06044c22c28e4972b
1187s 1..3
1187s # Start of private tests
1187s ok 1 /private/instance
1187s ok 2 /private/derived-instance
1187s ok 3 /private/mixed-derived-instance
1187s # End of private tests
1187s ok - glib/gobject-private.test
1187s # Running test: glib/mapping.test
1187s TAP version 14
1187s # random seed: R02S629ecc5473fac4cbbfb9b1ab4d31e4ba
1187s 1..3
1187s # Start of mapping tests
1187s # test_mapping: ok
1187s ok 1 /mapping/flags
1187s ok 2 /mapping/private
1187s # test_child_private: child spawned
1187s # Subtest: /usr/libexec/installed-tests/glib/mapping
1187s # random seed: R02S28b20c2c0fc632a2c8e65ff435736bf3
1187s # test_child_private: received first child signal
1187s # test_child_private: received parent signal
1187s # Child exited with status 0
1187s # test_child_private: received second child signal
1187s ok 3 /mapping/private-child
1187s # End of mapping tests
1187s ok - glib/mapping.test
1187s # Running test: glib/string.test
1187s TAP version 14
1187s # random seed: R02Sd36022a9def16f8a594f2759d7cb2c11
1187s 1..23
1187s # Start of string tests
1187s ok 1 /string/test-string-chunks
1187s ok 2 /string/test-string-chunk-insert
1187s ok 3 /string/test-string-new
1187s ok 4 /string/test-string-printf
1187s ok 5 /string/test-string-assign
1187s ok 6 /string/test-string-append-c
1187s ok 7 /string/test-string-append
1187s ok 8 /string/test-string-append-vprintf
1187s ok 9 /string/test-string-prepend-c
1187s ok 10 /string/test-string-prepend
1187s ok 11 /string/test-string-insert
1187s ok 12 /string/test-string-insert-unichar
1187s ok 13 /string/test-string-equal
1187s ok 14 /string/test-string-truncate
1187s ok 15 /string/test-string-overwrite
1187s ok 16 /string/test-string-nul-handling
1187s ok 17 /string/test-string-up-down
1187s ok 18 /string/test-string-set-size
1187s ok 19 /string/test-string-to-bytes
1187s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
1187s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
1187s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
1187s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
1187s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
1187s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
1187s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
1187s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
1187s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
1187s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
1187s # 5: Replacing "o" with "" (limit 0) in "food for foals"
1187s # -> 4 replacements, "fd fr fals"
1187s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
1187s # -> 3 replacements, "aaaaaaaaa"
1187s # 7: Replacing "a" with "" (limit 0) in "aaa"
1187s # -> 3 replacements, ""
1187s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
1187s # -> 1 replacements, "bba"
1187s # 9: Replacing "" with "bar" (limit 0) in "foo"
1187s # -> 4 replacements, "barfbarobarobar"
1187s # 10: Replacing "" with "bar" (limit 1) in "foo"
1187s # -> 1 replacements, "barfoo"
1187s # 11: Replacing "" with "bar" (limit 2) in "foo"
1187s # -> 2 replacements, "barfbaroo"
1187s # 12: Replacing "" with "bar" (limit 3) in "foo"
1187s # -> 3 replacements, "barfbarobaro"
1187s # 13: Replacing "" with "bar" (limit 4) in "foo"
1187s # -> 4 replacements, "barfbarobarobar"
1187s # 14: Replacing "" with "bar" (limit 5) in "foo"
1187s # -> 4 replacements, "barfbarobarobar"
1187s # 15: Replacing "" with "x" (limit 0) in ""
1187s # -> 1 replacements, "x"
1187s # 16: Replacing "" with "" (limit 0) in ""
1187s # -> 1 replacements, ""
1187s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb"
1187s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa"
1187s ok 20 /string/test-string-replace
1187s ok 21 /string/test-string-steal
1187s ok 22 /string/test-string-new-take
1187s # Start of test-string-new-take tests
1187s ok 23 /string/test-string-new-take/null
1187s # End of test-string-new-take tests
1187s # End of string tests
1187s ok - glib/string.test
1187s # Running test: glib/codegen.py.test
1187s TAP version 13
1187s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
1187s # gdbus-codegen: /usr/bin/gdbus-codegen
1187s # tmpdir: /tmp/tmpabeoecu_
1187s # /tmp/tmpabeoecu_/tmphqhcqltn.xml:
1187s #
1187s #
1187s #
1187s #
1187s #
1187s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabeoecu_/tmphqhcqltn.xml', '--output', '-', '--header']
1187s # Return code: 0
1187s # Output:
1187s # /*
1187s # * This file is generated by gdbus-codegen, do not modify it.
1187s # *
1187s # * The license of this code is the same as for the D-Bus interface description
1187s # * it was derived from. Note that it links to GLib, so must comply with the
1187s # * LGPL linking clauses.
1187s # */
1187s #
1187s # #ifndef __STDOUT__
1187s # #define __STDOUT__
1187s #
1187s # #include
1187s #
1187s # G_BEGIN_DECLS
1187s #
1187s #
1187s # /* ------------------------------------------------------------------------ */
1187s # /* Declarations for org.project.UsefulInterface */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1187s #
1187s # struct _OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1187s #
1187s # struct _OrgProjectUsefulInterfaceIface
1187s # {
1187s # GTypeInterface parent_iface;
1187s #
1187s # gboolean (*handle_useful_method) (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s # };
1187s #
1187s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1187s #
1187s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1187s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1187s #
1187s #
1187s # /* D-Bus method call completion functions: */
1187s # void org_project_useful_interface_complete_useful_method (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s #
1187s #
1187s # /* D-Bus method calls: */
1187s # void org_project_useful_interface_call_useful_method (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_finish (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GAsyncResult *res,
1187s # GError **error);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_sync (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxy
1187s # {
1187s # /*< private >*/
1187s # GDBusProxy parent_instance;
1187s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxyClass
1187s # {
1187s # GDBusProxyClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1187s # #endif
1187s #
1187s # void org_project_useful_interface_proxy_new (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s # void org_project_useful_interface_proxy_new_for_bus (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeleton
1187s # {
1187s # /*< private >*/
1187s # GDBusInterfaceSkeleton parent_instance;
1187s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeletonClass
1187s # {
1187s # GDBusInterfaceSkeletonClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1187s # #endif
1187s #
1187s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1187s #
1187s #
1187s # G_END_DECLS
1187s #
1187s # #endif /* __STDOUT__ */
1187s # Error:
1187s #
1187s # /tmp/tmpabeoecu_/tmpjuefbp2s.xml:
1187s #
1187s #
1187s #
1187s #
1187s #
1187s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabeoecu_/tmpjuefbp2s.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1187s # Return code: 0
1187s # Output:
1187s # /*
1187s # * This file is generated by gdbus-codegen, do not modify it.
1187s # *
1187s # * The license of this code is the same as for the D-Bus interface description
1187s # * it was derived from. Note that it links to GLib, so must comply with the
1187s # * LGPL linking clauses.
1187s # */
1187s #
1187s # #ifndef __STDOUT__
1187s # #define __STDOUT__
1187s #
1187s # #include
1187s #
1187s # G_BEGIN_DECLS
1187s #
1187s #
1187s # /* ------------------------------------------------------------------------ */
1187s # /* Declarations for org.project.UsefulInterface */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1187s #
1187s # struct _OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1187s #
1187s # struct _OrgProjectUsefulInterfaceIface
1187s # {
1187s # GTypeInterface parent_iface;
1187s #
1187s # gboolean (*handle_useful_method) (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s # };
1187s #
1187s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1187s #
1187s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1187s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1187s #
1187s #
1187s # /* D-Bus method call completion functions: */
1187s # void org_project_useful_interface_complete_useful_method (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s #
1187s #
1187s # /* D-Bus method calls: */
1187s # void org_project_useful_interface_call_useful_method (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_finish (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GAsyncResult *res,
1187s # GError **error);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_sync (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxy
1187s # {
1187s # /*< private >*/
1187s # GDBusProxy parent_instance;
1187s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxyClass
1187s # {
1187s # GDBusProxyClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1187s # #endif
1187s #
1187s # void org_project_useful_interface_proxy_new (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s # void org_project_useful_interface_proxy_new_for_bus (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeleton
1187s # {
1187s # /*< private >*/
1187s # GDBusInterfaceSkeleton parent_instance;
1187s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeletonClass
1187s # {
1187s # GDBusInterfaceSkeletonClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1187s # #endif
1187s #
1187s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1187s #
1187s #
1187s # G_END_DECLS
1187s #
1187s # #endif /* __STDOUT__ */
1187s # Error:
1187s #
1187s # /tmp/tmpabeoecu_/tmpy6_6czy5.xml:
1187s #
1187s #
1187s #
1187s #
1187s #
1187s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabeoecu_/tmpy6_6czy5.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1187s # Return code: 0
1187s # Output:
1187s # /*
1187s # * This file is generated by gdbus-codegen, do not modify it.
1187s # *
1187s # * The license of this code is the same as for the D-Bus interface description
1187s # * it was derived from. Note that it links to GLib, so must comply with the
1187s # * LGPL linking clauses.
1187s # */
1187s #
1187s # #ifndef __STDOUT__
1187s # #define __STDOUT__
1187s #
1187s # #include
1187s #
1187s # G_BEGIN_DECLS
1187s #
1187s #
1187s # /* ------------------------------------------------------------------------ */
1187s # /* Declarations for org.project.UsefulInterface */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1187s #
1187s # struct _OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1187s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1187s #
1187s # struct _OrgProjectUsefulInterfaceIface
1187s # {
1187s # GTypeInterface parent_iface;
1187s #
1187s # gboolean (*handle_useful_method) (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s # };
1187s #
1187s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1187s #
1187s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1187s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1187s #
1187s #
1187s # /* D-Bus method call completion functions: */
1187s # void org_project_useful_interface_complete_useful_method (
1187s # OrgProjectUsefulInterface *object,
1187s # GDBusMethodInvocation *invocation);
1187s #
1187s #
1187s #
1187s # /* D-Bus method calls: */
1187s # void org_project_useful_interface_call_useful_method (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GDBusCallFlags call_flags,
1187s # gint timeout_msec,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_finish (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GAsyncResult *res,
1187s # GError **error);
1187s #
1187s # gboolean org_project_useful_interface_call_useful_method_sync (
1187s # OrgProjectUsefulInterface *proxy,
1187s # GDBusCallFlags call_flags,
1187s # gint timeout_msec,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1187s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxy
1187s # {
1187s # /*< private >*/
1187s # GDBusProxy parent_instance;
1187s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceProxyClass
1187s # {
1187s # GDBusProxyClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1187s # #endif
1187s #
1187s # void org_project_useful_interface_proxy_new (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1187s # GDBusConnection *connection,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s # void org_project_useful_interface_proxy_new_for_bus (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GAsyncReadyCallback callback,
1187s # gpointer user_data);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1187s # GAsyncResult *res,
1187s # GError **error);
1187s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1187s # GBusType bus_type,
1187s # GDBusProxyFlags flags,
1187s # const gchar *name,
1187s # const gchar *object_path,
1187s # GCancellable *cancellable,
1187s # GError **error);
1187s #
1187s #
1187s # /* ---- */
1187s #
1187s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1187s #
1187s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1187s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeleton
1187s # {
1187s # /*< private >*/
1187s # GDBusInterfaceSkeleton parent_instance;
1187s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1187s # };
1187s #
1187s # struct _OrgProjectUsefulInterfaceSkeletonClass
1187s # {
1187s # GDBusInterfaceSkeletonClass parent_class;
1187s # };
1187s #
1187s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1187s #
1187s # #if GLIB_CHECK_VERSION(2, 44, 0)
1187s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1187s # #endif
1187s #
1187s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1187s #
1187s #
1187s # G_END_DECLS
1187s #
1187s # #endif /* __STDOUT__ */
1187s # Error:
1188s ok 2 __main__.TestCodegen.test_dbus_types
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmpcnf4j_ah
1188s # /tmp/tmpcnf4j_ah/tmpsrf__75k.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpsrf__75k.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1.
1188s # /tmp/tmpcnf4j_ah/tmpq0n_2fj2.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpq0n_2fj2.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6.
1188s # /tmp/tmpcnf4j_ah/tmpiin1yhqp.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpiin1yhqp.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "{s". Error parsing string or brackets not closed.
1188s # /tmp/tmpcnf4j_ah/tmphup16i5d.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmphup16i5d.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5.
1188s # /tmp/tmpcnf4j_ah/tmpuym2_4oo.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpuym2_4oo.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "z". "z" is not a valid D-Bus type.
1188s # /tmp/tmpcnf4j_ah/tmpljsjw8tw.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpljsjw8tw.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type.
1188s # /tmp/tmpcnf4j_ah/tmpc1ov02ku.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpc1ov02ku.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "(". Error parsing string or brackets not closed.
1188s # /tmp/tmpcnf4j_ah/tmp2lv1zpyq.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmp2lv1zpyq.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed.
1188s # /tmp/tmpcnf4j_ah/tmpd8i9_m5a.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpd8i9_m5a.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129.
1188s # /tmp/tmpcnf4j_ah/tmpultukaxv.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpultukaxv.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: D-Bus maximum signature length of 255 exceeded.
1188s # /tmp/tmpcnf4j_ah/tmpa5r13hai.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpa5r13hai.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: D-Bus maximum signature length of 255 exceeded.
1188s # /tmp/tmpcnf4j_ah/tmp_abl2ewr.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmp_abl2ewr.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129.
1188s # /tmp/tmpcnf4j_ah/tmpfgwq94fr.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpfgwq94fr.xml', '--output', '-', '--body']
1188s # Return code: 1
1188s # Output:
1188s #
1188s # Error:
1188s # ERROR: D-Bus maximum signature length of 255 exceeded.
1188s # /tmp/tmpcnf4j_ah/tmpt6t_rxs8.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpt6t_rxs8.xml', '--output', '-', '--body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # #ifdef G_OS_UNIX
1188s # # include
1188s # #endif
1188s #
1188s # #ifdef G_ENABLE_DEBUG
1188s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1188s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1188s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1188s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1188s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1188s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1188s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1188s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1188s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1188s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1188s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1188s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1188s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1188s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1188s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1188s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1188s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1188s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1188s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1188s # #else /* !G_ENABLE_DEBUG */
1188s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1188s # * Do not access GValues directly in your code. Instead, use the
1188s # * g_value_get_*() functions
1188s # */
1188s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1188s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1188s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1188s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1188s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1188s # #endif /* !G_ENABLE_DEBUG */
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusArgInfo parent_struct;
1188s # gboolean use_gvariant;
1188s # } _ExtendedGDBusArgInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusMethodInfo parent_struct;
1188s # const gchar *signal_name;
1188s # gboolean pass_fdlist;
1188s # } _ExtendedGDBusMethodInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusSignalInfo parent_struct;
1188s # const gchar *signal_name;
1188s # } _ExtendedGDBusSignalInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusPropertyInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # guint use_gvariant : 1;
1188s # guint emits_changed_signal : 1;
1188s # } _ExtendedGDBusPropertyInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusInterfaceInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # } _ExtendedGDBusInterfaceInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # guint prop_id;
1188s # GValue orig_value; /* the value before the change */
1188s # } ChangedProperty;
1188s #
1188s # static void
1188s # _changed_property_free (ChangedProperty *data)
1188s # {
1188s # g_value_unset (&data->orig_value);
1188s # g_free (data);
1188s # }
1188s #
1188s # static gboolean
1188s # _g_strv_equal0 (gchar **a, gchar **b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # guint n;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # if (g_strv_length (a) != g_strv_length (b))
1188s # goto out;
1188s # for (n = 0; a[n] != NULL; n++)
1188s # if (g_strcmp0 (a[n], b[n]) != 0)
1188s # goto out;
1188s # ret = TRUE;
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _g_variant_equal0 (GVariant *a, GVariant *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # ret = g_variant_equal (a, b);
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # G_GNUC_UNUSED static gboolean
1188s # _g_value_equal (const GValue *a, const GValue *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1188s # switch (G_VALUE_TYPE (a))
1188s # {
1188s # case G_TYPE_BOOLEAN:
1188s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1188s # break;
1188s # case G_TYPE_UCHAR:
1188s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1188s # break;
1188s # case G_TYPE_INT:
1188s # ret = (g_value_get_int (a) == g_value_get_int (b));
1188s # break;
1188s # case G_TYPE_UINT:
1188s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1188s # break;
1188s # case G_TYPE_INT64:
1188s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1188s # break;
1188s # case G_TYPE_UINT64:
1188s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1188s # break;
1188s # case G_TYPE_DOUBLE:
1188s # {
1188s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1188s # gdouble da = g_value_get_double (a);
1188s # gdouble db = g_value_get_double (b);
1188s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1188s # }
1188s # break;
1188s # case G_TYPE_STRING:
1188s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1188s # break;
1188s # case G_TYPE_VARIANT:
1188s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1188s # break;
1188s # default:
1188s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1188s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1188s # else
1188s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1188s # break;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------
1188s # * Code for interface GoodTypes
1188s # * ------------------------------------------------------------------------
1188s # */
1188s #
1188s # /**
1188s # * SECTION:GoodTypes
1188s # * @title: GoodTypes
1188s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1188s # *
1188s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1188s # */
1188s #
1188s # /* ---- Introspection data for GoodTypes ---- */
1188s #
1188s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodPropertyType",
1188s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
1188s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1188s # NULL
1188s # },
1188s # "good-property-type",
1188s # FALSE,
1188s # TRUE
1188s # };
1188s #
1188s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1188s # {
1188s # &_good_types_property_info_good_property_type.parent_struct,
1188s # NULL
1188s # };
1188s #
1188s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodTypes",
1188s # NULL,
1188s # NULL,
1188s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1188s # NULL
1188s # },
1188s # "good-types",
1188s # };
1188s #
1188s #
1188s # /**
1188s # * good_types_interface_info:
1188s # *
1188s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1188s # *
1188s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1188s # */
1188s # GDBusInterfaceInfo *
1188s # good_types_interface_info (void)
1188s # {
1188s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1188s # }
1188s #
1188s # /**
1188s # * good_types_override_properties:
1188s # * @klass: The class structure for a #GObject derived class.
1188s # * @property_id_begin: The property id to assign to the first overridden property.
1188s # *
1188s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1188s # * The properties are overridden in the order they are defined.
1188s # *
1188s # * Returns: The last property id.
1188s # */
1188s # guint
1188s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1188s # {
1188s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1188s # return property_id_begin - 1;
1188s # }
1188s #
1188s #
1188s #
1188s # /**
1188s # * GoodTypes:
1188s # *
1188s # * Abstract interface type for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesIface:
1188s # * @parent_iface: The parent interface.
1188s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1188s # *
1188s # * Virtual table for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # typedef GoodTypesIface GoodTypesInterface;
1188s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1188s #
1188s # static void
1188s # good_types_default_init (GoodTypesIface *iface)
1188s # {
1188s # /* GObject properties for D-Bus properties: */
1188s # /**
1188s # * GoodTypes:good-property-type:
1188s # *
1188s # * Represents the D-Bus property "GoodPropertyType".
1188s # *
1188s # * 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.
1188s # */
1188s # g_object_interface_install_property (iface,
1188s # 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));
1188s # }
1188s #
1188s # /**
1188s # * good_types_get_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets the value of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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.
1188s # *
1188s # * 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.
1188s # */
1188s # GVariant *
1188s # good_types_get_good_property_type (GoodTypes *object)
1188s # {
1188s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1188s #
1188s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1188s # }
1188s #
1188s # /**
1188s # * good_types_dup_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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().
1188s # */
1188s # GVariant *
1188s # good_types_dup_good_property_type (GoodTypes *object)
1188s # {
1188s # GVariant *value;
1188s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1188s # return value;
1188s # }
1188s #
1188s # /**
1188s # * good_types_set_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # * @value: The value to set.
1188s # *
1188s # * Sets the "GoodPropertyType" D-Bus property to @value.
1188s # *
1188s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1188s # */
1188s # void
1188s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1188s # {
1188s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesProxy:
1188s # *
1188s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesProxyClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesProxy.
1188s # */
1188s #
1188s # struct _GoodTypesProxyPrivate
1188s # {
1188s # GData *qdata;
1188s # };
1188s #
1188s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_ADD_PRIVATE (GoodTypesProxy)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_proxy_finalize (GObject *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # g_datalist_clear (&proxy->priv->qdata);
1188s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1188s # if (info->use_gvariant)
1188s # {
1188s # g_value_set_variant (value, variant);
1188s # }
1188s # else
1188s # {
1188s # if (variant != NULL)
1188s # g_dbus_gvariant_to_gvalue (variant, value);
1188s # }
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1188s # GAsyncResult *res,
1188s # gpointer user_data)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info = user_data;
1188s # GError *error;
1188s # GVariant *_ret;
1188s # error = NULL;
1188s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1188s # if (!_ret)
1188s # {
1188s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1188s # info->parent_struct.name,
1188s # error->message, g_quark_to_string (error->domain), error->code);
1188s # g_error_free (error);
1188s # }
1188s # else
1188s # {
1188s # g_variant_unref (_ret);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1188s # "org.freedesktop.DBus.Properties.Set",
1188s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_signal (GDBusProxy *proxy,
1188s # const gchar *sender_name G_GNUC_UNUSED,
1188s # const gchar *signal_name,
1188s # GVariant *parameters)
1188s # {
1188s # _ExtendedGDBusSignalInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # gsize n;
1188s # guint signal_id;
1188s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1188s # if (info == NULL)
1188s # return;
1188s # num_params = g_variant_n_children (parameters);
1188s # paramv = g_new0 (GValue, num_params + 1);
1188s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[0], proxy);
1188s # g_variant_iter_init (&iter, parameters);
1188s # n = 1;
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_signal_emitv (paramv, signal_id, 0, NULL);
1188s # for (n = 0; n < num_params + 1; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1188s # GVariant *changed_properties,
1188s # const gchar *const *invalidated_properties)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1188s # guint n;
1188s # const gchar *key;
1188s # GVariantIter *iter;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # g_variant_get (changed_properties, "a{sv}", &iter);
1188s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1188s # g_datalist_remove_data (&proxy->priv->qdata, key);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # g_variant_iter_free (iter);
1188s # for (n = 0; invalidated_properties[n] != NULL; n++)
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1188s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_proxy_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # GVariant *variant;
1188s # GVariant *value = NULL;
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1188s # value = variant;
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_init (GoodTypesProxy *proxy)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1188s # #else
1188s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1188s # #endif
1188s #
1188s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusProxyClass *proxy_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_proxy_finalize;
1188s # gobject_class->get_property = good_types_proxy_get_property;
1188s # gobject_class->set_property = good_types_proxy_set_property;
1188s #
1188s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1188s # proxy_class->g_signal = good_types_proxy_g_signal;
1188s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_sync:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_sync (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new_for_bus (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new_for_bus().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_sync:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_sync (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesSkeleton:
1188s # *
1188s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesSkeletonClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesSkeleton.
1188s # */
1188s #
1188s # struct _GoodTypesSkeletonPrivate
1188s # {
1188s # GValue *properties;
1188s # GList *changed_properties;
1188s # GSource *changed_properties_idle_source;
1188s # GMainContext *context;
1188s # GMutex lock;
1188s # };
1188s #
1188s # static void
1188s # _good_types_skeleton_handle_method_call (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name,
1188s # const gchar *method_name,
1188s # GVariant *parameters,
1188s # GDBusMethodInvocation *invocation,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # _ExtendedGDBusMethodInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # guint num_extra;
1188s # gsize n;
1188s # guint signal_id;
1188s # GValue return_value = G_VALUE_INIT;
1188s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1188s # g_assert (info != NULL);
1188s # num_params = g_variant_n_children (parameters);
1188s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1188s # n = 0;
1188s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[n++], skeleton);
1188s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1188s # g_value_set_object (¶mv[n++], invocation);
1188s # if (info->pass_fdlist)
1188s # {
1188s # #ifdef G_OS_UNIX
1188s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1188s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1188s # #else
1188s # g_assert_not_reached ();
1188s # #endif
1188s # }
1188s # g_variant_iter_init (&iter, parameters);
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1188s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1188s # if (!g_value_get_boolean (&return_value))
1188s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1188s # g_value_unset (&return_value);
1188s # for (n = 0; n < num_params + num_extra; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static GVariant *
1188s # _good_types_skeleton_handle_get_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *ret;
1188s # ret = NULL;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # g_value_init (&value, pspec->value_type);
1188s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_value_unset (&value);
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_skeleton_handle_set_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GVariant *variant,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # gboolean ret;
1188s # ret = FALSE;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # if (info->use_gvariant)
1188s # g_value_set_variant (&value, variant);
1188s # else
1188s # g_dbus_gvariant_to_gvalue (variant, &value);
1188s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # g_value_unset (&value);
1188s # ret = TRUE;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1188s # {
1188s # _good_types_skeleton_handle_method_call,
1188s # _good_types_skeleton_handle_get_property,
1188s # _good_types_skeleton_handle_set_property,
1188s # {NULL}
1188s # };
1188s #
1188s # static GDBusInterfaceInfo *
1188s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return good_types_interface_info ();
1188s # }
1188s #
1188s # static GDBusInterfaceVTable *
1188s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s #
1188s # GVariantBuilder builder;
1188s # guint n;
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #else
1188s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #endif
1188s # if (_good_types_interface_info.parent_struct.properties == NULL)
1188s # goto out;
1188s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1188s # {
1188s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1188s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1188s # {
1188s # GVariant *value;
1188s # 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);
1188s # if (value != NULL)
1188s # {
1188s # g_variant_take_ref (value);
1188s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1188s # g_variant_unref (value);
1188s # }
1188s # }
1188s # }
1188s # out:
1188s # return g_variant_builder_end (&builder);
1188s # }
1188s #
1188s # static gboolean _good_types_emit_changed (gpointer user_data);
1188s #
1188s # static void
1188s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s # gboolean emit_changed = FALSE;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # {
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # emit_changed = TRUE;
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s #
1188s # if (emit_changed)
1188s # _good_types_emit_changed (skeleton);
1188s # }
1188s #
1188s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_ADD_PRIVATE (GoodTypesSkeleton)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_skeleton_finalize (GObject *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # guint n;
1188s # for (n = 0; n < 1; n++)
1188s # g_value_unset (&skeleton->priv->properties[n]);
1188s # g_free (skeleton->priv->properties);
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # g_main_context_unref (skeleton->priv->context);
1188s # g_mutex_clear (&skeleton->priv->lock);
1188s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_emit_changed (gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GList *l;
1188s # GVariantBuilder builder;
1188s # GVariantBuilder invalidated_builder;
1188s # guint num_changes;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #else
1188s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #endif
1188s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *cp = l->data;
1188s # GVariant *variant;
1188s # const GValue *cur_value;
1188s #
1188s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1188s # if (!_g_value_equal (cur_value, &cp->orig_value))
1188s # {
1188s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1188s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1188s # g_variant_unref (variant);
1188s # num_changes++;
1188s # }
1188s # }
1188s # if (num_changes > 0)
1188s # {
1188s # GList *connections, *ll;
1188s # GVariant *signal_variant;
1188s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1188s # &builder, &invalidated_builder));
1188s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1188s # for (ll = connections; ll != NULL; ll = ll->next)
1188s # {
1188s # GDBusConnection *connection = ll->data;
1188s #
1188s # g_dbus_connection_emit_signal (connection,
1188s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1188s # "org.freedesktop.DBus.Properties",
1188s # "PropertiesChanged",
1188s # signal_variant,
1188s # NULL);
1188s # }
1188s # g_variant_unref (signal_variant);
1188s # g_list_free_full (connections, g_object_unref);
1188s # }
1188s # else
1188s # {
1188s # g_variant_builder_clear (&builder);
1188s # g_variant_builder_clear (&invalidated_builder);
1188s # }
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # skeleton->priv->changed_properties = NULL;
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return FALSE;
1188s # }
1188s #
1188s # static void
1188s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1188s # {
1188s # ChangedProperty *cp;
1188s # GList *l;
1188s # cp = NULL;
1188s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *i_cp = l->data;
1188s # if (i_cp->info == info)
1188s # {
1188s # cp = i_cp;
1188s # break;
1188s # }
1188s # }
1188s # if (cp == NULL)
1188s # {
1188s # cp = g_new0 (ChangedProperty, 1);
1188s # cp->prop_id = prop_id;
1188s # cp->info = info;
1188s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1188s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1188s # g_value_copy (orig_value, &cp->orig_value);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_notify (GObject *object,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties != NULL &&
1188s # skeleton->priv->changed_properties_idle_source == NULL)
1188s # {
1188s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1188s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1188s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1188s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1188s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1188s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_object_freeze_notify (object);
1188s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1188s # {
1188s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1188s # info->emits_changed_signal)
1188s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1188s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1188s # g_object_notify_by_pspec (object, pspec);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # g_object_thaw_notify (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1188s # #else
1188s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1188s # #endif
1188s #
1188s # g_mutex_init (&skeleton->priv->lock);
1188s # skeleton->priv->context = g_main_context_ref_thread_default ();
1188s # skeleton->priv->properties = g_new0 (GValue, 1);
1188s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # GVariant *value;
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusInterfaceSkeletonClass *skeleton_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_skeleton_finalize;
1188s # gobject_class->get_property = good_types_skeleton_get_property;
1188s # gobject_class->set_property = good_types_skeleton_set_property;
1188s # gobject_class->notify = good_types_skeleton_notify;
1188s #
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1188s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1188s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1188s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1188s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_skeleton_new:
1188s # *
1188s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1188s # */
1188s # GoodTypes *
1188s # good_types_skeleton_new (void)
1188s # {
1188s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1188s # }
1188s # Error:
1188s #
1188s # /tmp/tmpcnf4j_ah/tmp6q6lbtx8.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmp6q6lbtx8.xml', '--output', '-', '--body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # #ifdef G_OS_UNIX
1188s # # include
1188s # #endif
1188s #
1188s # #ifdef G_ENABLE_DEBUG
1188s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1188s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1188s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1188s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1188s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1188s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1188s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1188s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1188s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1188s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1188s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1188s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1188s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1188s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1188s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1188s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1188s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1188s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1188s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1188s # #else /* !G_ENABLE_DEBUG */
1188s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1188s # * Do not access GValues directly in your code. Instead, use the
1188s # * g_value_get_*() functions
1188s # */
1188s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1188s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1188s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1188s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1188s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1188s # #endif /* !G_ENABLE_DEBUG */
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusArgInfo parent_struct;
1188s # gboolean use_gvariant;
1188s # } _ExtendedGDBusArgInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusMethodInfo parent_struct;
1188s # const gchar *signal_name;
1188s # gboolean pass_fdlist;
1188s # } _ExtendedGDBusMethodInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusSignalInfo parent_struct;
1188s # const gchar *signal_name;
1188s # } _ExtendedGDBusSignalInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusPropertyInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # guint use_gvariant : 1;
1188s # guint emits_changed_signal : 1;
1188s # } _ExtendedGDBusPropertyInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusInterfaceInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # } _ExtendedGDBusInterfaceInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # guint prop_id;
1188s # GValue orig_value; /* the value before the change */
1188s # } ChangedProperty;
1188s #
1188s # static void
1188s # _changed_property_free (ChangedProperty *data)
1188s # {
1188s # g_value_unset (&data->orig_value);
1188s # g_free (data);
1188s # }
1188s #
1188s # static gboolean
1188s # _g_strv_equal0 (gchar **a, gchar **b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # guint n;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # if (g_strv_length (a) != g_strv_length (b))
1188s # goto out;
1188s # for (n = 0; a[n] != NULL; n++)
1188s # if (g_strcmp0 (a[n], b[n]) != 0)
1188s # goto out;
1188s # ret = TRUE;
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _g_variant_equal0 (GVariant *a, GVariant *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # ret = g_variant_equal (a, b);
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # G_GNUC_UNUSED static gboolean
1188s # _g_value_equal (const GValue *a, const GValue *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1188s # switch (G_VALUE_TYPE (a))
1188s # {
1188s # case G_TYPE_BOOLEAN:
1188s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1188s # break;
1188s # case G_TYPE_UCHAR:
1188s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1188s # break;
1188s # case G_TYPE_INT:
1188s # ret = (g_value_get_int (a) == g_value_get_int (b));
1188s # break;
1188s # case G_TYPE_UINT:
1188s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1188s # break;
1188s # case G_TYPE_INT64:
1188s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1188s # break;
1188s # case G_TYPE_UINT64:
1188s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1188s # break;
1188s # case G_TYPE_DOUBLE:
1188s # {
1188s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1188s # gdouble da = g_value_get_double (a);
1188s # gdouble db = g_value_get_double (b);
1188s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1188s # }
1188s # break;
1188s # case G_TYPE_STRING:
1188s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1188s # break;
1188s # case G_TYPE_VARIANT:
1188s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1188s # break;
1188s # default:
1188s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1188s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1188s # else
1188s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1188s # break;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------
1188s # * Code for interface GoodTypes
1188s # * ------------------------------------------------------------------------
1188s # */
1188s #
1188s # /**
1188s # * SECTION:GoodTypes
1188s # * @title: GoodTypes
1188s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1188s # *
1188s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1188s # */
1188s #
1188s # /* ---- Introspection data for GoodTypes ---- */
1188s #
1188s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodPropertyType",
1188s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
1188s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1188s # NULL
1188s # },
1188s # "good-property-type",
1188s # FALSE,
1188s # TRUE
1188s # };
1188s #
1188s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1188s # {
1188s # &_good_types_property_info_good_property_type.parent_struct,
1188s # NULL
1188s # };
1188s #
1188s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodTypes",
1188s # NULL,
1188s # NULL,
1188s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1188s # NULL
1188s # },
1188s # "good-types",
1188s # };
1188s #
1188s #
1188s # /**
1188s # * good_types_interface_info:
1188s # *
1188s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1188s # *
1188s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1188s # */
1188s # GDBusInterfaceInfo *
1188s # good_types_interface_info (void)
1188s # {
1188s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1188s # }
1188s #
1188s # /**
1188s # * good_types_override_properties:
1188s # * @klass: The class structure for a #GObject derived class.
1188s # * @property_id_begin: The property id to assign to the first overridden property.
1188s # *
1188s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1188s # * The properties are overridden in the order they are defined.
1188s # *
1188s # * Returns: The last property id.
1188s # */
1188s # guint
1188s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1188s # {
1188s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1188s # return property_id_begin - 1;
1188s # }
1188s #
1188s #
1188s #
1188s # /**
1188s # * GoodTypes:
1188s # *
1188s # * Abstract interface type for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesIface:
1188s # * @parent_iface: The parent interface.
1188s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1188s # *
1188s # * Virtual table for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # typedef GoodTypesIface GoodTypesInterface;
1188s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1188s #
1188s # static void
1188s # good_types_default_init (GoodTypesIface *iface)
1188s # {
1188s # /* GObject properties for D-Bus properties: */
1188s # /**
1188s # * GoodTypes:good-property-type:
1188s # *
1188s # * Represents the D-Bus property "GoodPropertyType".
1188s # *
1188s # * 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.
1188s # */
1188s # g_object_interface_install_property (iface,
1188s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1188s # }
1188s #
1188s # /**
1188s # * good_types_get_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets the value of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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.
1188s # *
1188s # * 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.
1188s # */
1188s # GVariant *
1188s # good_types_get_good_property_type (GoodTypes *object)
1188s # {
1188s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1188s #
1188s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1188s # }
1188s #
1188s # /**
1188s # * good_types_dup_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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().
1188s # */
1188s # GVariant *
1188s # good_types_dup_good_property_type (GoodTypes *object)
1188s # {
1188s # GVariant *value;
1188s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1188s # return value;
1188s # }
1188s #
1188s # /**
1188s # * good_types_set_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # * @value: The value to set.
1188s # *
1188s # * Sets the "GoodPropertyType" D-Bus property to @value.
1188s # *
1188s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1188s # */
1188s # void
1188s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1188s # {
1188s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesProxy:
1188s # *
1188s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesProxyClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesProxy.
1188s # */
1188s #
1188s # struct _GoodTypesProxyPrivate
1188s # {
1188s # GData *qdata;
1188s # };
1188s #
1188s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_ADD_PRIVATE (GoodTypesProxy)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_proxy_finalize (GObject *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # g_datalist_clear (&proxy->priv->qdata);
1188s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1188s # if (info->use_gvariant)
1188s # {
1188s # g_value_set_variant (value, variant);
1188s # }
1188s # else
1188s # {
1188s # if (variant != NULL)
1188s # g_dbus_gvariant_to_gvalue (variant, value);
1188s # }
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1188s # GAsyncResult *res,
1188s # gpointer user_data)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info = user_data;
1188s # GError *error;
1188s # GVariant *_ret;
1188s # error = NULL;
1188s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1188s # if (!_ret)
1188s # {
1188s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1188s # info->parent_struct.name,
1188s # error->message, g_quark_to_string (error->domain), error->code);
1188s # g_error_free (error);
1188s # }
1188s # else
1188s # {
1188s # g_variant_unref (_ret);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1188s # "org.freedesktop.DBus.Properties.Set",
1188s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_signal (GDBusProxy *proxy,
1188s # const gchar *sender_name G_GNUC_UNUSED,
1188s # const gchar *signal_name,
1188s # GVariant *parameters)
1188s # {
1188s # _ExtendedGDBusSignalInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # gsize n;
1188s # guint signal_id;
1188s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1188s # if (info == NULL)
1188s # return;
1188s # num_params = g_variant_n_children (parameters);
1188s # paramv = g_new0 (GValue, num_params + 1);
1188s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[0], proxy);
1188s # g_variant_iter_init (&iter, parameters);
1188s # n = 1;
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_signal_emitv (paramv, signal_id, 0, NULL);
1188s # for (n = 0; n < num_params + 1; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1188s # GVariant *changed_properties,
1188s # const gchar *const *invalidated_properties)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1188s # guint n;
1188s # const gchar *key;
1188s # GVariantIter *iter;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # g_variant_get (changed_properties, "a{sv}", &iter);
1188s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1188s # g_datalist_remove_data (&proxy->priv->qdata, key);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # g_variant_iter_free (iter);
1188s # for (n = 0; invalidated_properties[n] != NULL; n++)
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1188s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_proxy_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # GVariant *variant;
1188s # GVariant *value = NULL;
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1188s # value = variant;
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_init (GoodTypesProxy *proxy)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1188s # #else
1188s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1188s # #endif
1188s #
1188s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusProxyClass *proxy_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_proxy_finalize;
1188s # gobject_class->get_property = good_types_proxy_get_property;
1188s # gobject_class->set_property = good_types_proxy_set_property;
1188s #
1188s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1188s # proxy_class->g_signal = good_types_proxy_g_signal;
1188s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_sync:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_sync (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new_for_bus (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new_for_bus().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_sync:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_sync (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesSkeleton:
1188s # *
1188s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesSkeletonClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesSkeleton.
1188s # */
1188s #
1188s # struct _GoodTypesSkeletonPrivate
1188s # {
1188s # GValue *properties;
1188s # GList *changed_properties;
1188s # GSource *changed_properties_idle_source;
1188s # GMainContext *context;
1188s # GMutex lock;
1188s # };
1188s #
1188s # static void
1188s # _good_types_skeleton_handle_method_call (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name,
1188s # const gchar *method_name,
1188s # GVariant *parameters,
1188s # GDBusMethodInvocation *invocation,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # _ExtendedGDBusMethodInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # guint num_extra;
1188s # gsize n;
1188s # guint signal_id;
1188s # GValue return_value = G_VALUE_INIT;
1188s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1188s # g_assert (info != NULL);
1188s # num_params = g_variant_n_children (parameters);
1188s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1188s # n = 0;
1188s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[n++], skeleton);
1188s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1188s # g_value_set_object (¶mv[n++], invocation);
1188s # if (info->pass_fdlist)
1188s # {
1188s # #ifdef G_OS_UNIX
1188s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1188s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1188s # #else
1188s # g_assert_not_reached ();
1188s # #endif
1188s # }
1188s # g_variant_iter_init (&iter, parameters);
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1188s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1188s # if (!g_value_get_boolean (&return_value))
1188s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1188s # g_value_unset (&return_value);
1188s # for (n = 0; n < num_params + num_extra; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static GVariant *
1188s # _good_types_skeleton_handle_get_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *ret;
1188s # ret = NULL;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # g_value_init (&value, pspec->value_type);
1188s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_value_unset (&value);
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_skeleton_handle_set_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GVariant *variant,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # gboolean ret;
1188s # ret = FALSE;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # if (info->use_gvariant)
1188s # g_value_set_variant (&value, variant);
1188s # else
1188s # g_dbus_gvariant_to_gvalue (variant, &value);
1188s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # g_value_unset (&value);
1188s # ret = TRUE;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1188s # {
1188s # _good_types_skeleton_handle_method_call,
1188s # _good_types_skeleton_handle_get_property,
1188s # _good_types_skeleton_handle_set_property,
1188s # {NULL}
1188s # };
1188s #
1188s # static GDBusInterfaceInfo *
1188s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return good_types_interface_info ();
1188s # }
1188s #
1188s # static GDBusInterfaceVTable *
1188s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s #
1188s # GVariantBuilder builder;
1188s # guint n;
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #else
1188s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #endif
1188s # if (_good_types_interface_info.parent_struct.properties == NULL)
1188s # goto out;
1188s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1188s # {
1188s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1188s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1188s # {
1188s # GVariant *value;
1188s # 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);
1188s # if (value != NULL)
1188s # {
1188s # g_variant_take_ref (value);
1188s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1188s # g_variant_unref (value);
1188s # }
1188s # }
1188s # }
1188s # out:
1188s # return g_variant_builder_end (&builder);
1188s # }
1188s #
1188s # static gboolean _good_types_emit_changed (gpointer user_data);
1188s #
1188s # static void
1188s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s # gboolean emit_changed = FALSE;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # {
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # emit_changed = TRUE;
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s #
1188s # if (emit_changed)
1188s # _good_types_emit_changed (skeleton);
1188s # }
1188s #
1188s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_ADD_PRIVATE (GoodTypesSkeleton)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_skeleton_finalize (GObject *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # guint n;
1188s # for (n = 0; n < 1; n++)
1188s # g_value_unset (&skeleton->priv->properties[n]);
1188s # g_free (skeleton->priv->properties);
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # g_main_context_unref (skeleton->priv->context);
1188s # g_mutex_clear (&skeleton->priv->lock);
1188s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_emit_changed (gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GList *l;
1188s # GVariantBuilder builder;
1188s # GVariantBuilder invalidated_builder;
1188s # guint num_changes;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #else
1188s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #endif
1188s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *cp = l->data;
1188s # GVariant *variant;
1188s # const GValue *cur_value;
1188s #
1188s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1188s # if (!_g_value_equal (cur_value, &cp->orig_value))
1188s # {
1188s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1188s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1188s # g_variant_unref (variant);
1188s # num_changes++;
1188s # }
1188s # }
1188s # if (num_changes > 0)
1188s # {
1188s # GList *connections, *ll;
1188s # GVariant *signal_variant;
1188s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1188s # &builder, &invalidated_builder));
1188s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1188s # for (ll = connections; ll != NULL; ll = ll->next)
1188s # {
1188s # GDBusConnection *connection = ll->data;
1188s #
1188s # g_dbus_connection_emit_signal (connection,
1188s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1188s # "org.freedesktop.DBus.Properties",
1188s # "PropertiesChanged",
1188s # signal_variant,
1188s # NULL);
1188s # }
1188s # g_variant_unref (signal_variant);
1188s # g_list_free_full (connections, g_object_unref);
1188s # }
1188s # else
1188s # {
1188s # g_variant_builder_clear (&builder);
1188s # g_variant_builder_clear (&invalidated_builder);
1188s # }
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # skeleton->priv->changed_properties = NULL;
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return FALSE;
1188s # }
1188s #
1188s # static void
1188s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1188s # {
1188s # ChangedProperty *cp;
1188s # GList *l;
1188s # cp = NULL;
1188s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *i_cp = l->data;
1188s # if (i_cp->info == info)
1188s # {
1188s # cp = i_cp;
1188s # break;
1188s # }
1188s # }
1188s # if (cp == NULL)
1188s # {
1188s # cp = g_new0 (ChangedProperty, 1);
1188s # cp->prop_id = prop_id;
1188s # cp->info = info;
1188s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1188s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1188s # g_value_copy (orig_value, &cp->orig_value);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_notify (GObject *object,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties != NULL &&
1188s # skeleton->priv->changed_properties_idle_source == NULL)
1188s # {
1188s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1188s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1188s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1188s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1188s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1188s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_object_freeze_notify (object);
1188s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1188s # {
1188s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1188s # info->emits_changed_signal)
1188s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1188s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1188s # g_object_notify_by_pspec (object, pspec);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # g_object_thaw_notify (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1188s # #else
1188s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1188s # #endif
1188s #
1188s # g_mutex_init (&skeleton->priv->lock);
1188s # skeleton->priv->context = g_main_context_ref_thread_default ();
1188s # skeleton->priv->properties = g_new0 (GValue, 1);
1188s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # GVariant *value;
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusInterfaceSkeletonClass *skeleton_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_skeleton_finalize;
1188s # gobject_class->get_property = good_types_skeleton_get_property;
1188s # gobject_class->set_property = good_types_skeleton_set_property;
1188s # gobject_class->notify = good_types_skeleton_notify;
1188s #
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1188s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1188s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1188s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1188s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_skeleton_new:
1188s # *
1188s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1188s # */
1188s # GoodTypes *
1188s # good_types_skeleton_new (void)
1188s # {
1188s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1188s # }
1188s # Error:
1188s #
1188s # /tmp/tmpcnf4j_ah/tmpnsp7w5ki.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnf4j_ah/tmpnsp7w5ki.xml', '--output', '-', '--body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # #ifdef G_OS_UNIX
1188s # # include
1188s # #endif
1188s #
1188s # #ifdef G_ENABLE_DEBUG
1188s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1188s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1188s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1188s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1188s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1188s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1188s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1188s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1188s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1188s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1188s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1188s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1188s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1188s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1188s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1188s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1188s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1188s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1188s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1188s # #else /* !G_ENABLE_DEBUG */
1188s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1188s # * Do not access GValues directly in your code. Instead, use the
1188s # * g_value_get_*() functions
1188s # */
1188s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1188s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1188s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1188s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1188s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1188s # #endif /* !G_ENABLE_DEBUG */
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusArgInfo parent_struct;
1188s # gboolean use_gvariant;
1188s # } _ExtendedGDBusArgInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusMethodInfo parent_struct;
1188s # const gchar *signal_name;
1188s # gboolean pass_fdlist;
1188s # } _ExtendedGDBusMethodInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusSignalInfo parent_struct;
1188s # const gchar *signal_name;
1188s # } _ExtendedGDBusSignalInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusPropertyInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # guint use_gvariant : 1;
1188s # guint emits_changed_signal : 1;
1188s # } _ExtendedGDBusPropertyInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusInterfaceInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # } _ExtendedGDBusInterfaceInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # guint prop_id;
1188s # GValue orig_value; /* the value before the change */
1188s # } ChangedProperty;
1188s #
1188s # static void
1188s # _changed_property_free (ChangedProperty *data)
1188s # {
1188s # g_value_unset (&data->orig_value);
1188s # g_free (data);
1188s # }
1188s #
1188s # static gboolean
1188s # _g_strv_equal0 (gchar **a, gchar **b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # guint n;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # if (g_strv_length (a) != g_strv_length (b))
1188s # goto out;
1188s # for (n = 0; a[n] != NULL; n++)
1188s # if (g_strcmp0 (a[n], b[n]) != 0)
1188s # goto out;
1188s # ret = TRUE;
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _g_variant_equal0 (GVariant *a, GVariant *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # ret = g_variant_equal (a, b);
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # G_GNUC_UNUSED static gboolean
1188s # _g_value_equal (const GValue *a, const GValue *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1188s # switch (G_VALUE_TYPE (a))
1188s # {
1188s # case G_TYPE_BOOLEAN:
1188s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1188s # break;
1188s # case G_TYPE_UCHAR:
1188s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1188s # break;
1188s # case G_TYPE_INT:
1188s # ret = (g_value_get_int (a) == g_value_get_int (b));
1188s # break;
1188s # case G_TYPE_UINT:
1188s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1188s # break;
1188s # case G_TYPE_INT64:
1188s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1188s # break;
1188s # case G_TYPE_UINT64:
1188s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1188s # break;
1188s # case G_TYPE_DOUBLE:
1188s # {
1188s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1188s # gdouble da = g_value_get_double (a);
1188s # gdouble db = g_value_get_double (b);
1188s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1188s # }
1188s # break;
1188s # case G_TYPE_STRING:
1188s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1188s # break;
1188s # case G_TYPE_VARIANT:
1188s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1188s # break;
1188s # default:
1188s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1188s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1188s # else
1188s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1188s # break;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------
1188s # * Code for interface GoodTypes
1188s # * ------------------------------------------------------------------------
1188s # */
1188s #
1188s # /**
1188s # * SECTION:GoodTypes
1188s # * @title: GoodTypes
1188s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1188s # *
1188s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1188s # */
1188s #
1188s # /* ---- Introspection data for GoodTypes ---- */
1188s #
1188s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodPropertyType",
1188s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
1188s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1188s # NULL
1188s # },
1188s # "good-property-type",
1188s # FALSE,
1188s # TRUE
1188s # };
1188s #
1188s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1188s # {
1188s # &_good_types_property_info_good_property_type.parent_struct,
1188s # NULL
1188s # };
1188s #
1188s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "GoodTypes",
1188s # NULL,
1188s # NULL,
1188s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1188s # NULL
1188s # },
1188s # "good-types",
1188s # };
1188s #
1188s #
1188s # /**
1188s # * good_types_interface_info:
1188s # *
1188s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1188s # *
1188s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1188s # */
1188s # GDBusInterfaceInfo *
1188s # good_types_interface_info (void)
1188s # {
1188s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1188s # }
1188s #
1188s # /**
1188s # * good_types_override_properties:
1188s # * @klass: The class structure for a #GObject derived class.
1188s # * @property_id_begin: The property id to assign to the first overridden property.
1188s # *
1188s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1188s # * The properties are overridden in the order they are defined.
1188s # *
1188s # * Returns: The last property id.
1188s # */
1188s # guint
1188s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1188s # {
1188s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1188s # return property_id_begin - 1;
1188s # }
1188s #
1188s #
1188s #
1188s # /**
1188s # * GoodTypes:
1188s # *
1188s # * Abstract interface type for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesIface:
1188s # * @parent_iface: The parent interface.
1188s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1188s # *
1188s # * Virtual table for the D-Bus interface GoodTypes.
1188s # */
1188s #
1188s # typedef GoodTypesIface GoodTypesInterface;
1188s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1188s #
1188s # static void
1188s # good_types_default_init (GoodTypesIface *iface)
1188s # {
1188s # /* GObject properties for D-Bus properties: */
1188s # /**
1188s # * GoodTypes:good-property-type:
1188s # *
1188s # * Represents the D-Bus property "GoodPropertyType".
1188s # *
1188s # * 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.
1188s # */
1188s # g_object_interface_install_property (iface,
1188s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1188s # }
1188s #
1188s # /**
1188s # * good_types_get_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets the value of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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.
1188s # *
1188s # * 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.
1188s # */
1188s # GVariant *
1188s # good_types_get_good_property_type (GoodTypes *object)
1188s # {
1188s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1188s #
1188s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1188s # }
1188s #
1188s # /**
1188s # * good_types_dup_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # *
1188s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1188s # *
1188s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1188s # *
1188s # * 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().
1188s # */
1188s # GVariant *
1188s # good_types_dup_good_property_type (GoodTypes *object)
1188s # {
1188s # GVariant *value;
1188s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1188s # return value;
1188s # }
1188s #
1188s # /**
1188s # * good_types_set_good_property_type: (skip)
1188s # * @object: A GoodTypes.
1188s # * @value: The value to set.
1188s # *
1188s # * Sets the "GoodPropertyType" D-Bus property to @value.
1188s # *
1188s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1188s # */
1188s # void
1188s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1188s # {
1188s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesProxy:
1188s # *
1188s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesProxyClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesProxy.
1188s # */
1188s #
1188s # struct _GoodTypesProxyPrivate
1188s # {
1188s # GData *qdata;
1188s # };
1188s #
1188s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_ADD_PRIVATE (GoodTypesProxy)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_proxy_finalize (GObject *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # g_datalist_clear (&proxy->priv->qdata);
1188s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1188s # if (info->use_gvariant)
1188s # {
1188s # g_value_set_variant (value, variant);
1188s # }
1188s # else
1188s # {
1188s # if (variant != NULL)
1188s # g_dbus_gvariant_to_gvalue (variant, value);
1188s # }
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1188s # GAsyncResult *res,
1188s # gpointer user_data)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info = user_data;
1188s # GError *error;
1188s # GVariant *_ret;
1188s # error = NULL;
1188s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1188s # if (!_ret)
1188s # {
1188s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1188s # info->parent_struct.name,
1188s # error->message, g_quark_to_string (error->domain), error->code);
1188s # g_error_free (error);
1188s # }
1188s # else
1188s # {
1188s # g_variant_unref (_ret);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *variant;
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1188s # "org.freedesktop.DBus.Properties.Set",
1188s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1188s # g_variant_unref (variant);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_signal (GDBusProxy *proxy,
1188s # const gchar *sender_name G_GNUC_UNUSED,
1188s # const gchar *signal_name,
1188s # GVariant *parameters)
1188s # {
1188s # _ExtendedGDBusSignalInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # gsize n;
1188s # guint signal_id;
1188s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1188s # if (info == NULL)
1188s # return;
1188s # num_params = g_variant_n_children (parameters);
1188s # paramv = g_new0 (GValue, num_params + 1);
1188s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[0], proxy);
1188s # g_variant_iter_init (&iter, parameters);
1188s # n = 1;
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_signal_emitv (paramv, signal_id, 0, NULL);
1188s # for (n = 0; n < num_params + 1; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1188s # GVariant *changed_properties,
1188s # const gchar *const *invalidated_properties)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1188s # guint n;
1188s # const gchar *key;
1188s # GVariantIter *iter;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # g_variant_get (changed_properties, "a{sv}", &iter);
1188s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1188s # g_datalist_remove_data (&proxy->priv->qdata, key);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # g_variant_iter_free (iter);
1188s # for (n = 0; invalidated_properties[n] != NULL; n++)
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1188s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_proxy_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1188s # GVariant *variant;
1188s # GVariant *value = NULL;
1188s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1188s # value = variant;
1188s # if (variant != NULL)
1188s # g_variant_unref (variant);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_init (GoodTypesProxy *proxy)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1188s # #else
1188s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1188s # #endif
1188s #
1188s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusProxyClass *proxy_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_proxy_finalize;
1188s # gobject_class->get_property = good_types_proxy_get_property;
1188s # gobject_class->set_property = good_types_proxy_set_property;
1188s #
1188s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1188s # proxy_class->g_signal = good_types_proxy_g_signal;
1188s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_proxy_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_sync:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_sync (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1188s # *
1188s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # good_types_proxy_new_for_bus (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with good_types_proxy_new_for_bus().
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * good_types_proxy_new_for_bus_sync:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # GoodTypes *
1188s # good_types_proxy_new_for_bus_sync (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return GOOD_TYPES (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * GoodTypesSkeleton:
1188s # *
1188s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * GoodTypesSkeletonClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for GoodTypesSkeleton.
1188s # */
1188s #
1188s # struct _GoodTypesSkeletonPrivate
1188s # {
1188s # GValue *properties;
1188s # GList *changed_properties;
1188s # GSource *changed_properties_idle_source;
1188s # GMainContext *context;
1188s # GMutex lock;
1188s # };
1188s #
1188s # static void
1188s # _good_types_skeleton_handle_method_call (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name,
1188s # const gchar *method_name,
1188s # GVariant *parameters,
1188s # GDBusMethodInvocation *invocation,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # _ExtendedGDBusMethodInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # guint num_extra;
1188s # gsize n;
1188s # guint signal_id;
1188s # GValue return_value = G_VALUE_INIT;
1188s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1188s # g_assert (info != NULL);
1188s # num_params = g_variant_n_children (parameters);
1188s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1188s # n = 0;
1188s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1188s # g_value_set_object (¶mv[n++], skeleton);
1188s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1188s # g_value_set_object (¶mv[n++], invocation);
1188s # if (info->pass_fdlist)
1188s # {
1188s # #ifdef G_OS_UNIX
1188s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1188s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1188s # #else
1188s # g_assert_not_reached ();
1188s # #endif
1188s # }
1188s # g_variant_iter_init (&iter, parameters);
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1188s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1188s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1188s # if (!g_value_get_boolean (&return_value))
1188s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1188s # g_value_unset (&return_value);
1188s # for (n = 0; n < num_params + num_extra; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static GVariant *
1188s # _good_types_skeleton_handle_get_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *ret;
1188s # ret = NULL;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # g_value_init (&value, pspec->value_type);
1188s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_value_unset (&value);
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_skeleton_handle_set_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GVariant *variant,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # gboolean ret;
1188s # ret = FALSE;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # if (info->use_gvariant)
1188s # g_value_set_variant (&value, variant);
1188s # else
1188s # g_dbus_gvariant_to_gvalue (variant, &value);
1188s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # g_value_unset (&value);
1188s # ret = TRUE;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1188s # {
1188s # _good_types_skeleton_handle_method_call,
1188s # _good_types_skeleton_handle_get_property,
1188s # _good_types_skeleton_handle_set_property,
1188s # {NULL}
1188s # };
1188s #
1188s # static GDBusInterfaceInfo *
1188s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return good_types_interface_info ();
1188s # }
1188s #
1188s # static GDBusInterfaceVTable *
1188s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s #
1188s # GVariantBuilder builder;
1188s # guint n;
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #else
1188s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #endif
1188s # if (_good_types_interface_info.parent_struct.properties == NULL)
1188s # goto out;
1188s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1188s # {
1188s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1188s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1188s # {
1188s # GVariant *value;
1188s # 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);
1188s # if (value != NULL)
1188s # {
1188s # g_variant_take_ref (value);
1188s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1188s # g_variant_unref (value);
1188s # }
1188s # }
1188s # }
1188s # out:
1188s # return g_variant_builder_end (&builder);
1188s # }
1188s #
1188s # static gboolean _good_types_emit_changed (gpointer user_data);
1188s #
1188s # static void
1188s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1188s # gboolean emit_changed = FALSE;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # {
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # emit_changed = TRUE;
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s #
1188s # if (emit_changed)
1188s # _good_types_emit_changed (skeleton);
1188s # }
1188s #
1188s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_ADD_PRIVATE (GoodTypesSkeleton)
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # good_types_skeleton_finalize (GObject *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # guint n;
1188s # for (n = 0; n < 1; n++)
1188s # g_value_unset (&skeleton->priv->properties[n]);
1188s # g_free (skeleton->priv->properties);
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # g_main_context_unref (skeleton->priv->context);
1188s # g_mutex_clear (&skeleton->priv->lock);
1188s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_get_property (GObject *object,
1188s # guint prop_id,
1188s # GValue *value,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static gboolean
1188s # _good_types_emit_changed (gpointer user_data)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1188s # GList *l;
1188s # GVariantBuilder builder;
1188s # GVariantBuilder invalidated_builder;
1188s # guint num_changes;
1188s #
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #else
1188s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1188s # #endif
1188s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *cp = l->data;
1188s # GVariant *variant;
1188s # const GValue *cur_value;
1188s #
1188s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1188s # if (!_g_value_equal (cur_value, &cp->orig_value))
1188s # {
1188s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1188s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1188s # g_variant_unref (variant);
1188s # num_changes++;
1188s # }
1188s # }
1188s # if (num_changes > 0)
1188s # {
1188s # GList *connections, *ll;
1188s # GVariant *signal_variant;
1188s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1188s # &builder, &invalidated_builder));
1188s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1188s # for (ll = connections; ll != NULL; ll = ll->next)
1188s # {
1188s # GDBusConnection *connection = ll->data;
1188s #
1188s # g_dbus_connection_emit_signal (connection,
1188s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1188s # "org.freedesktop.DBus.Properties",
1188s # "PropertiesChanged",
1188s # signal_variant,
1188s # NULL);
1188s # }
1188s # g_variant_unref (signal_variant);
1188s # g_list_free_full (connections, g_object_unref);
1188s # }
1188s # else
1188s # {
1188s # g_variant_builder_clear (&builder);
1188s # g_variant_builder_clear (&invalidated_builder);
1188s # }
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # skeleton->priv->changed_properties = NULL;
1188s # skeleton->priv->changed_properties_idle_source = NULL;
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return FALSE;
1188s # }
1188s #
1188s # static void
1188s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1188s # {
1188s # ChangedProperty *cp;
1188s # GList *l;
1188s # cp = NULL;
1188s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1188s # {
1188s # ChangedProperty *i_cp = l->data;
1188s # if (i_cp->info == info)
1188s # {
1188s # cp = i_cp;
1188s # break;
1188s # }
1188s # }
1188s # if (cp == NULL)
1188s # {
1188s # cp = g_new0 (ChangedProperty, 1);
1188s # cp->prop_id = prop_id;
1188s # cp->info = info;
1188s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1188s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1188s # g_value_copy (orig_value, &cp->orig_value);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_notify (GObject *object,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # if (skeleton->priv->changed_properties != NULL &&
1188s # skeleton->priv->changed_properties_idle_source == NULL)
1188s # {
1188s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1188s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1188s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1188s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1188s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1188s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_set_property (GObject *object,
1188s # guint prop_id,
1188s # const GValue *value,
1188s # GParamSpec *pspec)
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1188s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # g_object_freeze_notify (object);
1188s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1188s # {
1188s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1188s # info->emits_changed_signal)
1188s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1188s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1188s # g_object_notify_by_pspec (object, pspec);
1188s # }
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # g_object_thaw_notify (object);
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1188s # #else
1188s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1188s # #endif
1188s #
1188s # g_mutex_init (&skeleton->priv->lock);
1188s # skeleton->priv->context = g_main_context_ref_thread_default ();
1188s # skeleton->priv->properties = g_new0 (GValue, 1);
1188s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1188s # }
1188s #
1188s # static GVariant *
1188s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1188s # {
1188s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1188s # GVariant *value;
1188s # g_mutex_lock (&skeleton->priv->lock);
1188s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1188s # g_mutex_unlock (&skeleton->priv->lock);
1188s # return value;
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusInterfaceSkeletonClass *skeleton_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = good_types_skeleton_finalize;
1188s # gobject_class->get_property = good_types_skeleton_get_property;
1188s # gobject_class->set_property = good_types_skeleton_set_property;
1188s # gobject_class->notify = good_types_skeleton_notify;
1188s #
1188s #
1188s # good_types_override_properties (gobject_class, 1);
1188s #
1188s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1188s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1188s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1188s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1188s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1188s # {
1188s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1188s # }
1188s #
1188s # /**
1188s # * good_types_skeleton_new:
1188s # *
1188s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1188s # *
1188s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1188s # */
1188s # GoodTypes *
1188s # good_types_skeleton_new (void)
1188s # {
1188s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1188s # }
1188s # Error:
1188s ok 3 __main__.TestCodegen.test_empty_interface_body
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmpt2fuhba8
1188s # /tmp/tmpt2fuhba8/tmpm29hcbvw.xml:
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt2fuhba8/tmpm29hcbvw.xml', '--output', '-', '--body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # #ifdef G_OS_UNIX
1188s # # include
1188s # #endif
1188s #
1188s # #ifdef G_ENABLE_DEBUG
1188s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1188s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1188s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1188s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1188s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1188s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1188s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1188s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1188s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1188s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1188s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1188s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1188s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1188s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1188s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1188s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1188s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1188s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1188s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1188s # #else /* !G_ENABLE_DEBUG */
1188s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1188s # * Do not access GValues directly in your code. Instead, use the
1188s # * g_value_get_*() functions
1188s # */
1188s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1188s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1188s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1188s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1188s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1188s # #endif /* !G_ENABLE_DEBUG */
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusArgInfo parent_struct;
1188s # gboolean use_gvariant;
1188s # } _ExtendedGDBusArgInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusMethodInfo parent_struct;
1188s # const gchar *signal_name;
1188s # gboolean pass_fdlist;
1188s # } _ExtendedGDBusMethodInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusSignalInfo parent_struct;
1188s # const gchar *signal_name;
1188s # } _ExtendedGDBusSignalInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusPropertyInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # guint use_gvariant : 1;
1188s # guint emits_changed_signal : 1;
1188s # } _ExtendedGDBusPropertyInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusInterfaceInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # } _ExtendedGDBusInterfaceInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # guint prop_id;
1188s # GValue orig_value; /* the value before the change */
1188s # } ChangedProperty;
1188s #
1188s # static void
1188s # _changed_property_free (ChangedProperty *data)
1188s # {
1188s # g_value_unset (&data->orig_value);
1188s # g_free (data);
1188s # }
1188s #
1188s # static gboolean
1188s # _g_strv_equal0 (gchar **a, gchar **b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # guint n;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # if (g_strv_length (a) != g_strv_length (b))
1188s # goto out;
1188s # for (n = 0; a[n] != NULL; n++)
1188s # if (g_strcmp0 (a[n], b[n]) != 0)
1188s # goto out;
1188s # ret = TRUE;
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _g_variant_equal0 (GVariant *a, GVariant *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # ret = g_variant_equal (a, b);
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # G_GNUC_UNUSED static gboolean
1188s # _g_value_equal (const GValue *a, const GValue *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1188s # switch (G_VALUE_TYPE (a))
1188s # {
1188s # case G_TYPE_BOOLEAN:
1188s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1188s # break;
1188s # case G_TYPE_UCHAR:
1188s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1188s # break;
1188s # case G_TYPE_INT:
1188s # ret = (g_value_get_int (a) == g_value_get_int (b));
1188s # break;
1188s # case G_TYPE_UINT:
1188s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1188s # break;
1188s # case G_TYPE_INT64:
1188s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1188s # break;
1188s # case G_TYPE_UINT64:
1188s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1188s # break;
1188s # case G_TYPE_DOUBLE:
1188s # {
1188s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1188s # gdouble da = g_value_get_double (a);
1188s # gdouble db = g_value_get_double (b);
1188s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1188s # }
1188s # break;
1188s # case G_TYPE_STRING:
1188s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1188s # break;
1188s # case G_TYPE_VARIANT:
1188s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1188s # break;
1188s # default:
1188s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1188s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1188s # else
1188s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1188s # break;
1188s # }
1188s # return ret;
1188s # }
1188s # Error:
1188s ok 4 __main__.TestCodegen.test_empty_interface_header
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmp0g008uxa
1188s # /tmp/tmp0g008uxa/tmpbpzm63a6.xml:
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0g008uxa/tmpbpzm63a6.xml', '--output', '-', '--header']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifndef __STDOUT__
1188s # #define __STDOUT__
1188s #
1188s # #include
1188s #
1188s # G_BEGIN_DECLS
1188s #
1188s #
1188s # G_END_DECLS
1188s #
1188s # #endif /* __STDOUT__ */
1188s # Error:
1188s ok 5 __main__.TestCodegen.test_empty_interface_info_body
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmpzb60cgr6
1188s # /tmp/tmpzb60cgr6/tmpzkzdknvi.xml:
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzb60cgr6/tmpzkzdknvi.xml', '--output', '-', '--interface-info-body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # Error:
1188s ok 6 __main__.TestCodegen.test_empty_interface_info_header
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmp80fkj1xz
1188s # /tmp/tmp80fkj1xz/tmp5c6utr9c.xml:
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80fkj1xz/tmp5c6utr9c.xml', '--output', '-', '--interface-info-header']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifndef __STDOUT__
1188s # #define __STDOUT__
1188s #
1188s # #include
1188s #
1188s # G_BEGIN_DECLS
1188s #
1188s #
1188s # G_END_DECLS
1188s #
1188s # #endif /* __STDOUT__ */
1188s # Error:
1188s ok 7 __main__.TestCodegen.test_generate_docbook
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmpd5htw7hd
1188s # /tmp/tmpd5htw7hd/tmpk3t959gr.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd5htw7hd/tmpk3t959gr.xml', '--generate-docbook', 'test']
1188s # Return code: 0
1188s # Output:
1188s #
1188s # Error:
1188s # Executing: glib/codegen.py.test
1188s ok 8 __main__.TestCodegen.test_generate_md
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmp4zvus_56
1188s # /tmp/tmp4zvus_56/tmp33siot35.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zvus_56/tmp33siot35.xml', '--generate-md', 'test']
1188s # Return code: 0
1188s # Output:
1188s #
1188s # Error:
1188s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
1188s # gdbus-codegen: /usr/bin/gdbus-codegen
1188s # tmpdir: /tmp/tmp4l33vr5i
1188s # /tmp/tmp4l33vr5i/tmpqpbm8c1j.xml:
1188s #
1188s #
1188s #
1188s #
1188s #
1188s #
1188s #
1188s #
1188s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4l33vr5i/tmpqpbm8c1j.xml', '--output', '-', '--body']
1188s # Return code: 0
1188s # Output:
1188s # /*
1188s # * This file is generated by gdbus-codegen, do not modify it.
1188s # *
1188s # * The license of this code is the same as for the D-Bus interface description
1188s # * it was derived from. Note that it links to GLib, so must comply with the
1188s # * LGPL linking clauses.
1188s # */
1188s #
1188s # #ifdef HAVE_CONFIG_H
1188s # # include "config.h"
1188s # #endif
1188s #
1188s # #include
1188s # #ifdef G_OS_UNIX
1188s # # include
1188s # #endif
1188s #
1188s # #ifdef G_ENABLE_DEBUG
1188s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1188s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1188s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1188s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1188s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1188s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1188s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1188s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1188s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1188s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1188s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1188s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1188s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1188s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1188s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1188s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1188s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1188s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1188s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1188s # #else /* !G_ENABLE_DEBUG */
1188s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1188s # * Do not access GValues directly in your code. Instead, use the
1188s # * g_value_get_*() functions
1188s # */
1188s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1188s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1188s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1188s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1188s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1188s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1188s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1188s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1188s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1188s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1188s # #endif /* !G_ENABLE_DEBUG */
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusArgInfo parent_struct;
1188s # gboolean use_gvariant;
1188s # } _ExtendedGDBusArgInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusMethodInfo parent_struct;
1188s # const gchar *signal_name;
1188s # gboolean pass_fdlist;
1188s # } _ExtendedGDBusMethodInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusSignalInfo parent_struct;
1188s # const gchar *signal_name;
1188s # } _ExtendedGDBusSignalInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusPropertyInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # guint use_gvariant : 1;
1188s # guint emits_changed_signal : 1;
1188s # } _ExtendedGDBusPropertyInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # GDBusInterfaceInfo parent_struct;
1188s # const gchar *hyphen_name;
1188s # } _ExtendedGDBusInterfaceInfo;
1188s #
1188s # typedef struct
1188s # {
1188s # const _ExtendedGDBusPropertyInfo *info;
1188s # guint prop_id;
1188s # GValue orig_value; /* the value before the change */
1188s # } ChangedProperty;
1188s #
1188s # static void
1188s # _changed_property_free (ChangedProperty *data)
1188s # {
1188s # g_value_unset (&data->orig_value);
1188s # g_free (data);
1188s # }
1188s #
1188s # static gboolean
1188s # _g_strv_equal0 (gchar **a, gchar **b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # guint n;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # if (g_strv_length (a) != g_strv_length (b))
1188s # goto out;
1188s # for (n = 0; a[n] != NULL; n++)
1188s # if (g_strcmp0 (a[n], b[n]) != 0)
1188s # goto out;
1188s # ret = TRUE;
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _g_variant_equal0 (GVariant *a, GVariant *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # if (a == NULL && b == NULL)
1188s # {
1188s # ret = TRUE;
1188s # goto out;
1188s # }
1188s # if (a == NULL || b == NULL)
1188s # goto out;
1188s # ret = g_variant_equal (a, b);
1188s # out:
1188s # return ret;
1188s # }
1188s #
1188s # G_GNUC_UNUSED static gboolean
1188s # _g_value_equal (const GValue *a, const GValue *b)
1188s # {
1188s # gboolean ret = FALSE;
1188s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1188s # switch (G_VALUE_TYPE (a))
1188s # {
1188s # case G_TYPE_BOOLEAN:
1188s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1188s # break;
1188s # case G_TYPE_UCHAR:
1188s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1188s # break;
1188s # case G_TYPE_INT:
1188s # ret = (g_value_get_int (a) == g_value_get_int (b));
1188s # break;
1188s # case G_TYPE_UINT:
1188s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1188s # break;
1188s # case G_TYPE_INT64:
1188s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1188s # break;
1188s # case G_TYPE_UINT64:
1188s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1188s # break;
1188s # case G_TYPE_DOUBLE:
1188s # {
1188s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1188s # gdouble da = g_value_get_double (a);
1188s # gdouble db = g_value_get_double (b);
1188s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1188s # }
1188s # break;
1188s # case G_TYPE_STRING:
1188s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1188s # break;
1188s # case G_TYPE_VARIANT:
1188s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1188s # break;
1188s # default:
1188s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1188s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1188s # else
1188s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1188s # break;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static void
1188s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1188s # GClosure *closure,
1188s # GValue *return_value,
1188s # unsigned int n_param_values,
1188s # const GValue *param_values,
1188s # void *invocation_hint G_GNUC_UNUSED,
1188s # void *marshal_data)
1188s # {
1188s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1188s # (void *data1,
1188s # GDBusMethodInvocation *arg_method_invocation,
1188s # void *data2);
1188s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1188s # GCClosure *cc = (GCClosure*) closure;
1188s # void *data1, *data2;
1188s # gboolean v_return;
1188s #
1188s # g_return_if_fail (return_value != NULL);
1188s # g_return_if_fail (n_param_values == 2);
1188s #
1188s # if (G_CCLOSURE_SWAP_DATA (closure))
1188s # {
1188s # data1 = closure->data;
1188s # data2 = g_value_peek_pointer (param_values + 0);
1188s # }
1188s # else
1188s # {
1188s # data1 = g_value_peek_pointer (param_values + 0);
1188s # data2 = closure->data;
1188s # }
1188s #
1188s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1188s # (marshal_data ? marshal_data : cc->callback);
1188s #
1188s # v_return =
1188s # callback (data1,
1188s # g_marshal_value_peek_object (param_values + 1),
1188s # data2);
1188s #
1188s # g_value_set_boolean (return_value, v_return);
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------
1188s # * Code for interface org.project.CallableIface
1188s # * ------------------------------------------------------------------------
1188s # */
1188s #
1188s # /**
1188s # * SECTION:OrgProjectCallableIface
1188s # * @title: OrgProjectCallableIface
1188s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1188s # *
1188s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1188s # */
1188s #
1188s # /* ---- Introspection data for org.project.CallableIface ---- */
1188s #
1188s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "SimpleMethod",
1188s # NULL,
1188s # NULL,
1188s # NULL
1188s # },
1188s # "handle-simple-method",
1188s # FALSE
1188s # };
1188s #
1188s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1188s # {
1188s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
1188s # NULL
1188s # };
1188s #
1188s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "org.project.CallableIface",
1188s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1188s # NULL,
1188s # NULL,
1188s # NULL
1188s # },
1188s # "org-project-callable-iface",
1188s # };
1188s #
1188s #
1188s # /**
1188s # * org_project_callable_iface_interface_info:
1188s # *
1188s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1188s # *
1188s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1188s # */
1188s # GDBusInterfaceInfo *
1188s # org_project_callable_iface_interface_info (void)
1188s # {
1188s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_override_properties:
1188s # * @klass: The class structure for a #GObject derived class.
1188s # * @property_id_begin: The property id to assign to the first overridden property.
1188s # *
1188s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1188s # * The properties are overridden in the order they are defined.
1188s # *
1188s # * Returns: The last property id.
1188s # */
1188s # guint
1188s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1188s # {
1188s # return property_id_begin - 1;
1188s # }
1188s #
1188s #
1188s # inline static void
1188s # org_project_callable_iface_method_marshal_simple_method (
1188s # GClosure *closure,
1188s # GValue *return_value,
1188s # unsigned int n_param_values,
1188s # const GValue *param_values,
1188s # void *invocation_hint,
1188s # void *marshal_data)
1188s # {
1188s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1188s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1188s # }
1188s #
1188s #
1188s # /**
1188s # * OrgProjectCallableIface:
1188s # *
1188s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectCallableIfaceIface:
1188s # * @parent_iface: The parent interface.
1188s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
1188s # *
1188s # * Virtual table for the D-Bus interface org.project.CallableIface.
1188s # */
1188s #
1188s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1188s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1188s #
1188s # static void
1188s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1188s # {
1188s # /* GObject signals for incoming D-Bus method calls: */
1188s # /**
1188s # * OrgProjectCallableIface::handle-simple-method:
1188s # * @object: A #OrgProjectCallableIface.
1188s # * @invocation: A #GDBusMethodInvocation.
1188s # *
1188s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1188s # *
1188s # * If 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.
1188s # *
1188s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1188s # */
1188s # g_signal_new ("handle-simple-method",
1188s # G_TYPE_FROM_INTERFACE (iface),
1188s # G_SIGNAL_RUN_LAST,
1188s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
1188s # g_signal_accumulator_true_handled,
1188s # NULL,
1188s # org_project_callable_iface_method_marshal_simple_method,
1188s # G_TYPE_BOOLEAN,
1188s # 1,
1188s # G_TYPE_DBUS_METHOD_INVOCATION);
1188s #
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_call_simple_method:
1188s # * @proxy: A #OrgProjectCallableIfaceProxy.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1188s # */
1188s # void
1188s # org_project_callable_iface_call_simple_method (
1188s # OrgProjectCallableIface *proxy,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1188s # "SimpleMethod",
1188s # g_variant_new ("()"),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # cancellable,
1188s # callback,
1188s # user_data);
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_call_simple_method_finish:
1188s # * @proxy: A #OrgProjectCallableIfaceProxy.
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
1188s # * @error: Return location for error or %NULL.
1188s # *
1188s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
1188s # *
1188s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1188s # */
1188s # gboolean
1188s # org_project_callable_iface_call_simple_method_finish (
1188s # OrgProjectCallableIface *proxy,
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GVariant *_ret;
1188s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1188s # if (_ret == NULL)
1188s # goto _out;
1188s # g_variant_get (_ret,
1188s # "()");
1188s # g_variant_unref (_ret);
1188s # _out:
1188s # return _ret != NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_call_simple_method_sync:
1188s # * @proxy: A #OrgProjectCallableIfaceProxy.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL.
1188s # *
1188s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
1188s # *
1188s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1188s # */
1188s # gboolean
1188s # org_project_callable_iface_call_simple_method_sync (
1188s # OrgProjectCallableIface *proxy,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GVariant *_ret;
1188s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1188s # "SimpleMethod",
1188s # g_variant_new ("()"),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # cancellable,
1188s # error);
1188s # if (_ret == NULL)
1188s # goto _out;
1188s # g_variant_get (_ret,
1188s # "()");
1188s # g_variant_unref (_ret);
1188s # _out:
1188s # return _ret != NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_complete_simple_method:
1188s # * @object: A #OrgProjectCallableIface.
1188s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1188s # *
1188s # * 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.
1188s # *
1188s # * This method will free @invocation, you cannot use it afterwards.
1188s # */
1188s # void
1188s # org_project_callable_iface_complete_simple_method (
1188s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1188s # GDBusMethodInvocation *invocation)
1188s # {
1188s # g_dbus_method_invocation_return_value (invocation,
1188s # g_variant_new ("()"));
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * OrgProjectCallableIfaceProxy:
1188s # *
1188s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectCallableIfaceProxyClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for #OrgProjectCallableIfaceProxy.
1188s # */
1188s #
1188s # struct _OrgProjectCallableIfaceProxyPrivate
1188s # {
1188s # GData *qdata;
1188s # };
1188s #
1188s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1188s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # org_project_callable_iface_proxy_finalize (GObject *object)
1188s # {
1188s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1188s # g_datalist_clear (&proxy->priv->qdata);
1188s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1188s # guint prop_id G_GNUC_UNUSED,
1188s # GValue *value G_GNUC_UNUSED,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1188s # guint prop_id G_GNUC_UNUSED,
1188s # const GValue *value G_GNUC_UNUSED,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1188s # const gchar *sender_name G_GNUC_UNUSED,
1188s # const gchar *signal_name,
1188s # GVariant *parameters)
1188s # {
1188s # _ExtendedGDBusSignalInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # gsize n;
1188s # guint signal_id;
1188s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1188s # if (info == NULL)
1188s # return;
1188s # num_params = g_variant_n_children (parameters);
1188s # paramv = g_new0 (GValue, num_params + 1);
1188s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1188s # g_value_set_object (¶mv[0], proxy);
1188s # g_variant_iter_init (&iter, parameters);
1188s # n = 1;
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1188s # g_signal_emitv (paramv, signal_id, 0, NULL);
1188s # for (n = 0; n < num_params + 1; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1188s # GVariant *changed_properties,
1188s # const gchar *const *invalidated_properties)
1188s # {
1188s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1188s # guint n;
1188s # const gchar *key;
1188s # GVariantIter *iter;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # g_variant_get (changed_properties, "a{sv}", &iter);
1188s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1188s # g_datalist_remove_data (&proxy->priv->qdata, key);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # g_variant_iter_free (iter);
1188s # for (n = 0; invalidated_properties[n] != NULL; n++)
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1188s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1188s # #else
1188s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1188s # #endif
1188s #
1188s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusProxyClass *proxy_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1188s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1188s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1188s #
1188s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1188s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1188s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # org_project_callable_iface_proxy_new (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectCallableIface *
1188s # org_project_callable_iface_proxy_new_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new_sync:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectCallableIface *
1188s # org_project_callable_iface_proxy_new_sync (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new_for_bus:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # org_project_callable_iface_proxy_new_for_bus (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new_for_bus_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectCallableIface *
1188s # org_project_callable_iface_proxy_new_for_bus_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_proxy_new_for_bus_sync:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectCallableIface *
1188s # org_project_callable_iface_proxy_new_for_bus_sync (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * OrgProjectCallableIfaceSkeleton:
1188s # *
1188s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectCallableIfaceSkeletonClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1188s # */
1188s #
1188s # struct _OrgProjectCallableIfaceSkeletonPrivate
1188s # {
1188s # GValue *properties;
1188s # GList *changed_properties;
1188s # GSource *changed_properties_idle_source;
1188s # GMainContext *context;
1188s # GMutex lock;
1188s # };
1188s #
1188s # static void
1188s # _org_project_callable_iface_skeleton_handle_method_call (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name,
1188s # const gchar *method_name,
1188s # GVariant *parameters,
1188s # GDBusMethodInvocation *invocation,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1188s # _ExtendedGDBusMethodInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # guint num_extra;
1188s # gsize n;
1188s # guint signal_id;
1188s # GValue return_value = G_VALUE_INIT;
1188s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1188s # g_assert (info != NULL);
1188s # num_params = g_variant_n_children (parameters);
1188s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1188s # n = 0;
1188s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1188s # g_value_set_object (¶mv[n++], skeleton);
1188s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1188s # g_value_set_object (¶mv[n++], invocation);
1188s # if (info->pass_fdlist)
1188s # {
1188s # #ifdef G_OS_UNIX
1188s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1188s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1188s # #else
1188s # g_assert_not_reached ();
1188s # #endif
1188s # }
1188s # g_variant_iter_init (&iter, parameters);
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1188s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1188s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1188s # if (!g_value_get_boolean (&return_value))
1188s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1188s # g_value_unset (&return_value);
1188s # for (n = 0; n < num_params + num_extra; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static GVariant *
1188s # _org_project_callable_iface_skeleton_handle_get_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *ret;
1188s # ret = NULL;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # g_value_init (&value, pspec->value_type);
1188s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_value_unset (&value);
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _org_project_callable_iface_skeleton_handle_set_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GVariant *variant,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # gboolean ret;
1188s # ret = FALSE;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # if (info->use_gvariant)
1188s # g_value_set_variant (&value, variant);
1188s # else
1188s # g_dbus_gvariant_to_gvalue (variant, &value);
1188s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # g_value_unset (&value);
1188s # ret = TRUE;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1188s # {
1188s # _org_project_callable_iface_skeleton_handle_method_call,
1188s # _org_project_callable_iface_skeleton_handle_get_property,
1188s # _org_project_callable_iface_skeleton_handle_set_property,
1188s # {NULL}
1188s # };
1188s #
1188s # static GDBusInterfaceInfo *
1188s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return org_project_callable_iface_interface_info ();
1188s # }
1188s #
1188s # static GDBusInterfaceVTable *
1188s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1188s # }
1188s #
1188s # static GVariant *
1188s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1188s #
1188s # GVariantBuilder builder;
1188s # guint n;
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #else
1188s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #endif
1188s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1188s # goto out;
1188s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1188s # {
1188s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1188s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1188s # {
1188s # GVariant *value;
1188s # 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);
1188s # if (value != NULL)
1188s # {
1188s # g_variant_take_ref (value);
1188s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1188s # g_variant_unref (value);
1188s # }
1188s # }
1188s # }
1188s # out:
1188s # return g_variant_builder_end (&builder);
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # org_project_callable_iface_skeleton_finalize (GObject *object)
1188s # {
1188s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # g_main_context_unref (skeleton->priv->context);
1188s # g_mutex_clear (&skeleton->priv->lock);
1188s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1188s # #else
1188s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1188s # #endif
1188s #
1188s # g_mutex_init (&skeleton->priv->lock);
1188s # skeleton->priv->context = g_main_context_ref_thread_default ();
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusInterfaceSkeletonClass *skeleton_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1188s #
1188s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1188s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1188s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1188s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1188s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # /**
1188s # * org_project_callable_iface_skeleton_new:
1188s # *
1188s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1188s # */
1188s # OrgProjectCallableIface *
1188s # org_project_callable_iface_skeleton_new (void)
1188s # {
1188s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------
1188s # * Code for interface org.project.OtherCallableIface
1188s # * ------------------------------------------------------------------------
1188s # */
1188s #
1188s # /**
1188s # * SECTION:OrgProjectOtherCallableIface
1188s # * @title: OrgProjectOtherCallableIface
1188s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1188s # *
1188s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1188s # */
1188s #
1188s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1188s #
1188s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "SimpleMethod",
1188s # NULL,
1188s # NULL,
1188s # NULL
1188s # },
1188s # "handle-simple-method",
1188s # FALSE
1188s # };
1188s #
1188s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1188s # {
1188s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
1188s # NULL
1188s # };
1188s #
1188s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1188s # {
1188s # {
1188s # -1,
1188s # (gchar *) "org.project.OtherCallableIface",
1188s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1188s # NULL,
1188s # NULL,
1188s # NULL
1188s # },
1188s # "org-project-other-callable-iface",
1188s # };
1188s #
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_interface_info:
1188s # *
1188s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1188s # *
1188s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1188s # */
1188s # GDBusInterfaceInfo *
1188s # org_project_other_callable_iface_interface_info (void)
1188s # {
1188s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_override_properties:
1188s # * @klass: The class structure for a #GObject derived class.
1188s # * @property_id_begin: The property id to assign to the first overridden property.
1188s # *
1188s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1188s # * The properties are overridden in the order they are defined.
1188s # *
1188s # * Returns: The last property id.
1188s # */
1188s # guint
1188s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1188s # {
1188s # return property_id_begin - 1;
1188s # }
1188s #
1188s #
1188s # inline static void
1188s # org_project_other_callable_iface_method_marshal_simple_method (
1188s # GClosure *closure,
1188s # GValue *return_value,
1188s # unsigned int n_param_values,
1188s # const GValue *param_values,
1188s # void *invocation_hint,
1188s # void *marshal_data)
1188s # {
1188s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1188s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1188s # }
1188s #
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIface:
1188s # *
1188s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIfaceIface:
1188s # * @parent_iface: The parent interface.
1188s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
1188s # *
1188s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1188s # */
1188s #
1188s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1188s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1188s #
1188s # static void
1188s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1188s # {
1188s # /* GObject signals for incoming D-Bus method calls: */
1188s # /**
1188s # * OrgProjectOtherCallableIface::handle-simple-method:
1188s # * @object: A #OrgProjectOtherCallableIface.
1188s # * @invocation: A #GDBusMethodInvocation.
1188s # *
1188s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1188s # *
1188s # * If 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.
1188s # *
1188s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1188s # */
1188s # g_signal_new ("handle-simple-method",
1188s # G_TYPE_FROM_INTERFACE (iface),
1188s # G_SIGNAL_RUN_LAST,
1188s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
1188s # g_signal_accumulator_true_handled,
1188s # NULL,
1188s # org_project_other_callable_iface_method_marshal_simple_method,
1188s # G_TYPE_BOOLEAN,
1188s # 1,
1188s # G_TYPE_DBUS_METHOD_INVOCATION);
1188s #
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_call_simple_method:
1188s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1188s # */
1188s # void
1188s # org_project_other_callable_iface_call_simple_method (
1188s # OrgProjectOtherCallableIface *proxy,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1188s # "SimpleMethod",
1188s # g_variant_new ("()"),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # cancellable,
1188s # callback,
1188s # user_data);
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_call_simple_method_finish:
1188s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
1188s # * @error: Return location for error or %NULL.
1188s # *
1188s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
1188s # *
1188s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1188s # */
1188s # gboolean
1188s # org_project_other_callable_iface_call_simple_method_finish (
1188s # OrgProjectOtherCallableIface *proxy,
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GVariant *_ret;
1188s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1188s # if (_ret == NULL)
1188s # goto _out;
1188s # g_variant_get (_ret,
1188s # "()");
1188s # g_variant_unref (_ret);
1188s # _out:
1188s # return _ret != NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_call_simple_method_sync:
1188s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL.
1188s # *
1188s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
1188s # *
1188s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1188s # */
1188s # gboolean
1188s # org_project_other_callable_iface_call_simple_method_sync (
1188s # OrgProjectOtherCallableIface *proxy,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GVariant *_ret;
1188s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1188s # "SimpleMethod",
1188s # g_variant_new ("()"),
1188s # G_DBUS_CALL_FLAGS_NONE,
1188s # -1,
1188s # cancellable,
1188s # error);
1188s # if (_ret == NULL)
1188s # goto _out;
1188s # g_variant_get (_ret,
1188s # "()");
1188s # g_variant_unref (_ret);
1188s # _out:
1188s # return _ret != NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_complete_simple_method:
1188s # * @object: A #OrgProjectOtherCallableIface.
1188s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1188s # *
1188s # * 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.
1188s # *
1188s # * This method will free @invocation, you cannot use it afterwards.
1188s # */
1188s # void
1188s # org_project_other_callable_iface_complete_simple_method (
1188s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1188s # GDBusMethodInvocation *invocation)
1188s # {
1188s # g_dbus_method_invocation_return_value (invocation,
1188s # g_variant_new ("()"));
1188s # }
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIfaceProxy:
1188s # *
1188s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIfaceProxyClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1188s # */
1188s #
1188s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1188s # {
1188s # GData *qdata;
1188s # };
1188s #
1188s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1188s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1188s # {
1188s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1188s # g_datalist_clear (&proxy->priv->qdata);
1188s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1188s # guint prop_id G_GNUC_UNUSED,
1188s # GValue *value G_GNUC_UNUSED,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1188s # guint prop_id G_GNUC_UNUSED,
1188s # const GValue *value G_GNUC_UNUSED,
1188s # GParamSpec *pspec G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1188s # const gchar *sender_name G_GNUC_UNUSED,
1188s # const gchar *signal_name,
1188s # GVariant *parameters)
1188s # {
1188s # _ExtendedGDBusSignalInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # gsize n;
1188s # guint signal_id;
1188s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1188s # if (info == NULL)
1188s # return;
1188s # num_params = g_variant_n_children (parameters);
1188s # paramv = g_new0 (GValue, num_params + 1);
1188s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1188s # g_value_set_object (¶mv[0], proxy);
1188s # g_variant_iter_init (&iter, parameters);
1188s # n = 1;
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1188s # g_signal_emitv (paramv, signal_id, 0, NULL);
1188s # for (n = 0; n < num_params + 1; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1188s # GVariant *changed_properties,
1188s # const gchar *const *invalidated_properties)
1188s # {
1188s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1188s # guint n;
1188s # const gchar *key;
1188s # GVariantIter *iter;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # g_variant_get (changed_properties, "a{sv}", &iter);
1188s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1188s # g_datalist_remove_data (&proxy->priv->qdata, key);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # g_variant_iter_free (iter);
1188s # for (n = 0; invalidated_properties[n] != NULL; n++)
1188s # {
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1188s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1188s # if (info != NULL)
1188s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1188s # }
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1188s # #else
1188s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1188s # #endif
1188s #
1188s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusProxyClass *proxy_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1188s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1188s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1188s #
1188s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1188s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1188s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # org_project_other_callable_iface_proxy_new (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectOtherCallableIface *
1188s # org_project_other_callable_iface_proxy_new_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new_sync:
1188s # * @connection: A #GDBusConnection.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectOtherCallableIface *
1188s # org_project_other_callable_iface_proxy_new_sync (
1188s # GDBusConnection *connection,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new_for_bus:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1188s # * @user_data: User data to pass to @callback.
1188s # *
1188s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1188s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1188s # *
1188s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1188s # */
1188s # void
1188s # org_project_other_callable_iface_proxy_new_for_bus (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GAsyncReadyCallback callback,
1188s # gpointer user_data)
1188s # {
1188s # 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);
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1188s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectOtherCallableIface *
1188s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1188s # GAsyncResult *res,
1188s # GError **error)
1188s # {
1188s # GObject *ret;
1188s # GObject *source_object;
1188s # source_object = g_async_result_get_source_object (res);
1188s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1188s # g_object_unref (source_object);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1188s # * @bus_type: A #GBusType.
1188s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1188s # * @name: A bus name (well-known or unique).
1188s # * @object_path: An object path.
1188s # * @cancellable: (nullable): A #GCancellable or %NULL.
1188s # * @error: Return location for error or %NULL
1188s # *
1188s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1188s # *
1188s # * The calling thread is blocked until a reply is received.
1188s # *
1188s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1188s # */
1188s # OrgProjectOtherCallableIface *
1188s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1188s # GBusType bus_type,
1188s # GDBusProxyFlags flags,
1188s # const gchar *name,
1188s # const gchar *object_path,
1188s # GCancellable *cancellable,
1188s # GError **error)
1188s # {
1188s # GInitable *ret;
1188s # 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);
1188s # if (ret != NULL)
1188s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1188s # else
1188s # return NULL;
1188s # }
1188s #
1188s #
1188s # /* ------------------------------------------------------------------------ */
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIfaceSkeleton:
1188s # *
1188s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1188s # */
1188s #
1188s # /**
1188s # * OrgProjectOtherCallableIfaceSkeletonClass:
1188s # * @parent_class: The parent class.
1188s # *
1188s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1188s # */
1188s #
1188s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1188s # {
1188s # GValue *properties;
1188s # GList *changed_properties;
1188s # GSource *changed_properties_idle_source;
1188s # GMainContext *context;
1188s # GMutex lock;
1188s # };
1188s #
1188s # static void
1188s # _org_project_other_callable_iface_skeleton_handle_method_call (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name,
1188s # const gchar *method_name,
1188s # GVariant *parameters,
1188s # GDBusMethodInvocation *invocation,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1188s # _ExtendedGDBusMethodInfo *info;
1188s # GVariantIter iter;
1188s # GVariant *child;
1188s # GValue *paramv;
1188s # gsize num_params;
1188s # guint num_extra;
1188s # gsize n;
1188s # guint signal_id;
1188s # GValue return_value = G_VALUE_INIT;
1188s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1188s # g_assert (info != NULL);
1188s # num_params = g_variant_n_children (parameters);
1188s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1188s # n = 0;
1188s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1188s # g_value_set_object (¶mv[n++], skeleton);
1188s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1188s # g_value_set_object (¶mv[n++], invocation);
1188s # if (info->pass_fdlist)
1188s # {
1188s # #ifdef G_OS_UNIX
1188s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1188s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1188s # #else
1188s # g_assert_not_reached ();
1188s # #endif
1188s # }
1188s # g_variant_iter_init (&iter, parameters);
1188s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1188s # {
1188s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1188s # if (arg_info->use_gvariant)
1188s # {
1188s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1188s # g_value_set_variant (¶mv[n], child);
1188s # n++;
1188s # }
1188s # else
1188s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1188s # g_variant_unref (child);
1188s # }
1188s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1188s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1188s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1188s # if (!g_value_get_boolean (&return_value))
1188s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1188s # g_value_unset (&return_value);
1188s # for (n = 0; n < num_params + num_extra; n++)
1188s # g_value_unset (¶mv[n]);
1188s # g_free (paramv);
1188s # }
1188s #
1188s # static GVariant *
1188s # _org_project_other_callable_iface_skeleton_handle_get_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # GVariant *ret;
1188s # ret = NULL;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # g_value_init (&value, pspec->value_type);
1188s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1188s # g_value_unset (&value);
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static gboolean
1188s # _org_project_other_callable_iface_skeleton_handle_set_property (
1188s # GDBusConnection *connection G_GNUC_UNUSED,
1188s # const gchar *sender G_GNUC_UNUSED,
1188s # const gchar *object_path G_GNUC_UNUSED,
1188s # const gchar *interface_name G_GNUC_UNUSED,
1188s # const gchar *property_name,
1188s # GVariant *variant,
1188s # GError **error,
1188s # gpointer user_data)
1188s # {
1188s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1188s # GValue value = G_VALUE_INIT;
1188s # GParamSpec *pspec;
1188s # _ExtendedGDBusPropertyInfo *info;
1188s # gboolean ret;
1188s # ret = FALSE;
1188s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1188s # g_assert (info != NULL);
1188s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1188s # if (pspec == NULL)
1188s # {
1188s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1188s # }
1188s # else
1188s # {
1188s # if (info->use_gvariant)
1188s # g_value_set_variant (&value, variant);
1188s # else
1188s # g_dbus_gvariant_to_gvalue (variant, &value);
1188s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1188s # g_value_unset (&value);
1188s # ret = TRUE;
1188s # }
1188s # return ret;
1188s # }
1188s #
1188s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1188s # {
1188s # _org_project_other_callable_iface_skeleton_handle_method_call,
1188s # _org_project_other_callable_iface_skeleton_handle_get_property,
1188s # _org_project_other_callable_iface_skeleton_handle_set_property,
1188s # {NULL}
1188s # };
1188s #
1188s # static GDBusInterfaceInfo *
1188s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return org_project_other_callable_iface_interface_info ();
1188s # }
1188s #
1188s # static GDBusInterfaceVTable *
1188s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1188s # {
1188s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1188s # }
1188s #
1188s # static GVariant *
1188s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1188s # {
1188s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1188s #
1188s # GVariantBuilder builder;
1188s # guint n;
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1188s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #else
1188s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1188s # #endif
1188s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1188s # goto out;
1188s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1188s # {
1188s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1188s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1188s # {
1188s # GVariant *value;
1188s # 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);
1188s # if (value != NULL)
1188s # {
1188s # g_variant_take_ref (value);
1188s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1188s # g_variant_unref (value);
1188s # }
1188s # }
1188s # }
1188s # out:
1188s # return g_variant_builder_end (&builder);
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1188s #
1188s # #else
1188s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1188s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1188s #
1188s # #endif
1188s # static void
1188s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1188s # {
1188s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1188s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1188s # if (skeleton->priv->changed_properties_idle_source != NULL)
1188s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1188s # g_main_context_unref (skeleton->priv->context);
1188s # g_mutex_clear (&skeleton->priv->lock);
1188s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1188s # {
1188s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1188s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1188s # #else
1188s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1188s # #endif
1188s #
1188s # g_mutex_init (&skeleton->priv->lock);
1188s # skeleton->priv->context = g_main_context_ref_thread_default ();
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1188s # {
1188s # GObjectClass *gobject_class;
1188s # GDBusInterfaceSkeletonClass *skeleton_class;
1188s #
1188s # gobject_class = G_OBJECT_CLASS (klass);
1188s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1188s #
1188s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1188s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1188s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1188s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1188s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1188s #
1188s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1188s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1188s # #endif
1188s # }
1188s #
1188s # static void
1188s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1188s # {
1188s # }
1188s #
1188s # /**
1188s # * org_project_other_callable_iface_skeleton_new:
1188s # *
1188s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1188s # *
1188s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1188s # */
1188s # OrgProjectOtherCallableIface *
1188s # org_project_other_callable_iface_skeleton_new (void)
1188s # {
1188s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1188s # }
1188s # Error:
1189s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
1189s # gdbus-codegen: /usr/bin/gdbus-codegen
1189s # tmpdir: /tmp/tmphj7uve_d
1189s # /tmp/tmphj7uve_d/tmp4tp3304e.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp4tp3304e.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # gboolean arg_arg_b,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_boolean (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_b",
1189s # (gchar *) "b",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodB",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-b",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_b (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_b: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-b",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_b,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_b:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_b: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_b (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gboolean arg_arg_b,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodB",
1189s # g_variant_new ("(b)",
1189s # arg_arg_b),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_b_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_b_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_b_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_b: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_b_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gboolean arg_arg_b,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodB",
1189s # g_variant_new ("(b)",
1189s # arg_arg_b),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_b:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_b (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmpsjof9fhj.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpsjof9fhj.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # guchar arg_arg_y,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_uchar (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_y",
1189s # (gchar *) "y",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodY",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-y",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_y (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_y: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-y",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_y,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_y:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_y: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_y (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guchar arg_arg_y,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodY",
1189s # g_variant_new ("(y)",
1189s # arg_arg_y),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_y_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_y_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_y_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_y: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_y_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guchar arg_arg_y,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodY",
1189s # g_variant_new ("(y)",
1189s # arg_arg_y),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_y:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_y (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmp5w3ta7wu.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp5w3ta7wu.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # gint16 arg_arg_n,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_int (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_n",
1189s # (gchar *) "n",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodN",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-n",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_n (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_n: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-n",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_n,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_n:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_n: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_n (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint16 arg_arg_n,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodN",
1189s # g_variant_new ("(n)",
1189s # arg_arg_n),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_n_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_n_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_n_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_n: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_n_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint16 arg_arg_n,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodN",
1189s # g_variant_new ("(n)",
1189s # arg_arg_n),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_n:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_n (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmpyin8s0cb.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpyin8s0cb.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # guint16 arg_arg_q,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_uint (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_q",
1189s # (gchar *) "q",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodQ",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-q",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_q (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_q: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-q",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_q,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_q:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_q: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_q (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guint16 arg_arg_q,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodQ",
1189s # g_variant_new ("(q)",
1189s # arg_arg_q),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_q_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_q_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_q_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_q: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_q_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guint16 arg_arg_q,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodQ",
1189s # g_variant_new ("(q)",
1189s # arg_arg_q),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_q:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_q (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmp7qe80_aw.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp7qe80_aw.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # gint arg_arg_i,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_int (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_i",
1189s # (gchar *) "i",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodI",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-i",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_i (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_i: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-i",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_i,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_i:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_i: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_i (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint arg_arg_i,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodI",
1189s # g_variant_new ("(i)",
1189s # arg_arg_i),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_i_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_i_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_i_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_i: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_i_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint arg_arg_i,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodI",
1189s # g_variant_new ("(i)",
1189s # arg_arg_i),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_i:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_i (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmp86a7w0ai.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp86a7w0ai.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # guint arg_arg_u,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_uint (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_u",
1189s # (gchar *) "u",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodU",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-u",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_u (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_u: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-u",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_u,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_u:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_u: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_u (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guint arg_arg_u,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodU",
1189s # g_variant_new ("(u)",
1189s # arg_arg_u),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_u_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_u_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_u_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_u: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_u_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # guint arg_arg_u,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodU",
1189s # g_variant_new ("(u)",
1189s # arg_arg_u),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_u:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_u (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmpbm8gs8xw.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpbm8gs8xw.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # gint64 arg_arg_x,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_int64 (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_x",
1189s # (gchar *) "x",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodX",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-x",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1189s # return property_id_begin - 1;
1189s # }
1189s #
1189s #
1189s # inline static void
1189s # org_project_useful_interface_method_marshal_single_arg_method_x (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint,
1189s # void *marshal_data)
1189s # {
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
1189s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1189s # }
1189s #
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterface:
1189s # *
1189s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceIface:
1189s # * @parent_iface: The parent interface.
1189s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1189s # *
1189s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1189s # */
1189s #
1189s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1189s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1189s #
1189s # static void
1189s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1189s # {
1189s # /* GObject signals for incoming D-Bus method calls: */
1189s # /**
1189s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: A #GDBusMethodInvocation.
1189s # * @arg_arg_x: Argument passed by remote caller.
1189s # *
1189s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1189s # *
1189s # * If 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.
1189s # *
1189s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1189s # */
1189s # g_signal_new ("handle-single-arg-method-x",
1189s # G_TYPE_FROM_INTERFACE (iface),
1189s # G_SIGNAL_RUN_LAST,
1189s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1189s # g_signal_accumulator_true_handled,
1189s # NULL,
1189s # org_project_useful_interface_method_marshal_single_arg_method_x,
1189s # G_TYPE_BOOLEAN,
1189s # 2,
1189s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
1189s #
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_x:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_x: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1189s # */
1189s # void
1189s # org_project_useful_interface_call_single_arg_method_x (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint64 arg_arg_x,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodX",
1189s # g_variant_new ("(x)",
1189s # arg_arg_x),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # callback,
1189s # user_data);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_x_finish:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_x_finish (
1189s # OrgProjectUsefulInterface *proxy,
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_call_single_arg_method_x_sync:
1189s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1189s # * @arg_arg_x: Argument to pass with the method invocation.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL.
1189s # *
1189s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1189s # *
1189s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1189s # */
1189s # gboolean
1189s # org_project_useful_interface_call_single_arg_method_x_sync (
1189s # OrgProjectUsefulInterface *proxy,
1189s # gint64 arg_arg_x,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GVariant *_ret;
1189s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1189s # "SingleArgMethodX",
1189s # g_variant_new ("(x)",
1189s # arg_arg_x),
1189s # G_DBUS_CALL_FLAGS_NONE,
1189s # -1,
1189s # cancellable,
1189s # error);
1189s # if (_ret == NULL)
1189s # goto _out;
1189s # g_variant_get (_ret,
1189s # "()");
1189s # g_variant_unref (_ret);
1189s # _out:
1189s # return _ret != NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_complete_single_arg_method_x:
1189s # * @object: A #OrgProjectUsefulInterface.
1189s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1189s # *
1189s # * 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.
1189s # *
1189s # * This method will free @invocation, you cannot use it afterwards.
1189s # */
1189s # void
1189s # org_project_useful_interface_complete_single_arg_method_x (
1189s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1189s # GDBusMethodInvocation *invocation)
1189s # {
1189s # g_dbus_method_invocation_return_value (invocation,
1189s # g_variant_new ("()"));
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxy:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceProxyClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceProxyPrivate
1189s # {
1189s # GData *qdata;
1189s # };
1189s #
1189s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_proxy_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1189s # g_datalist_clear (&proxy->priv->qdata);
1189s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1189s # guint prop_id G_GNUC_UNUSED,
1189s # const GValue *value G_GNUC_UNUSED,
1189s # GParamSpec *pspec G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1189s # const gchar *sender_name G_GNUC_UNUSED,
1189s # const gchar *signal_name,
1189s # GVariant *parameters)
1189s # {
1189s # _ExtendedGDBusSignalInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # gsize n;
1189s # guint signal_id;
1189s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1189s # if (info == NULL)
1189s # return;
1189s # num_params = g_variant_n_children (parameters);
1189s # paramv = g_new0 (GValue, num_params + 1);
1189s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[0], proxy);
1189s # g_variant_iter_init (&iter, parameters);
1189s # n = 1;
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_signal_emitv (paramv, signal_id, 0, NULL);
1189s # for (n = 0; n < num_params + 1; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1189s # GVariant *changed_properties,
1189s # const gchar *const *invalidated_properties)
1189s # {
1189s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1189s # guint n;
1189s # const gchar *key;
1189s # GVariantIter *iter;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # g_variant_get (changed_properties, "a{sv}", &iter);
1189s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1189s # g_datalist_remove_data (&proxy->priv->qdata, key);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # g_variant_iter_free (iter);
1189s # for (n = 0; invalidated_properties[n] != NULL; n++)
1189s # {
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1189s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1189s # if (info != NULL)
1189s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1189s # }
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1189s # #else
1189s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1189s # #endif
1189s #
1189s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusProxyClass *proxy_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1189s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1189s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1189s #
1189s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1189s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1189s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_sync:
1189s # * @connection: A #GDBusConnection.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_sync (
1189s # GDBusConnection *connection,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1189s # * @user_data: User data to pass to @callback.
1189s # *
1189s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1189s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1189s # */
1189s # void
1189s # org_project_useful_interface_proxy_new_for_bus (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GAsyncReadyCallback callback,
1189s # gpointer user_data)
1189s # {
1189s # g_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);
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_finish:
1189s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_finish (
1189s # GAsyncResult *res,
1189s # GError **error)
1189s # {
1189s # GObject *ret;
1189s # GObject *source_object;
1189s # source_object = g_async_result_get_source_object (res);
1189s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1189s # g_object_unref (source_object);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_proxy_new_for_bus_sync:
1189s # * @bus_type: A #GBusType.
1189s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1189s # * @name: A bus name (well-known or unique).
1189s # * @object_path: An object path.
1189s # * @cancellable: (nullable): A #GCancellable or %NULL.
1189s # * @error: Return location for error or %NULL
1189s # *
1189s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1189s # *
1189s # * The calling thread is blocked until a reply is received.
1189s # *
1189s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_proxy_new_for_bus_sync (
1189s # GBusType bus_type,
1189s # GDBusProxyFlags flags,
1189s # const gchar *name,
1189s # const gchar *object_path,
1189s # GCancellable *cancellable,
1189s # GError **error)
1189s # {
1189s # GInitable *ret;
1189s # 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);
1189s # if (ret != NULL)
1189s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1189s # else
1189s # return NULL;
1189s # }
1189s #
1189s #
1189s # /* ------------------------------------------------------------------------ */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeleton:
1189s # *
1189s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1189s # */
1189s #
1189s # /**
1189s # * OrgProjectUsefulInterfaceSkeletonClass:
1189s # * @parent_class: The parent class.
1189s # *
1189s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1189s # */
1189s #
1189s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1189s # {
1189s # GValue *properties;
1189s # GList *changed_properties;
1189s # GSource *changed_properties_idle_source;
1189s # GMainContext *context;
1189s # GMutex lock;
1189s # };
1189s #
1189s # static void
1189s # _org_project_useful_interface_skeleton_handle_method_call (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name,
1189s # const gchar *method_name,
1189s # GVariant *parameters,
1189s # GDBusMethodInvocation *invocation,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # _ExtendedGDBusMethodInfo *info;
1189s # GVariantIter iter;
1189s # GVariant *child;
1189s # GValue *paramv;
1189s # gsize num_params;
1189s # guint num_extra;
1189s # gsize n;
1189s # guint signal_id;
1189s # GValue return_value = G_VALUE_INIT;
1189s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1189s # g_assert (info != NULL);
1189s # num_params = g_variant_n_children (parameters);
1189s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1189s # n = 0;
1189s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_set_object (¶mv[n++], skeleton);
1189s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1189s # g_value_set_object (¶mv[n++], invocation);
1189s # if (info->pass_fdlist)
1189s # {
1189s # #ifdef G_OS_UNIX
1189s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1189s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1189s # #else
1189s # g_assert_not_reached ();
1189s # #endif
1189s # }
1189s # g_variant_iter_init (&iter, parameters);
1189s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1189s # {
1189s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1189s # if (arg_info->use_gvariant)
1189s # {
1189s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1189s # g_value_set_variant (¶mv[n], child);
1189s # n++;
1189s # }
1189s # else
1189s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1189s # g_variant_unref (child);
1189s # }
1189s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1189s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1189s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1189s # if (!g_value_get_boolean (&return_value))
1189s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1189s # g_value_unset (&return_value);
1189s # for (n = 0; n < num_params + num_extra; n++)
1189s # g_value_unset (¶mv[n]);
1189s # g_free (paramv);
1189s # }
1189s #
1189s # static GVariant *
1189s # _org_project_useful_interface_skeleton_handle_get_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # GVariant *ret;
1189s # ret = NULL;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # g_value_init (&value, pspec->value_type);
1189s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1189s # g_value_unset (&value);
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _org_project_useful_interface_skeleton_handle_set_property (
1189s # GDBusConnection *connection G_GNUC_UNUSED,
1189s # const gchar *sender G_GNUC_UNUSED,
1189s # const gchar *object_path G_GNUC_UNUSED,
1189s # const gchar *interface_name G_GNUC_UNUSED,
1189s # const gchar *property_name,
1189s # GVariant *variant,
1189s # GError **error,
1189s # gpointer user_data)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1189s # GValue value = G_VALUE_INIT;
1189s # GParamSpec *pspec;
1189s # _ExtendedGDBusPropertyInfo *info;
1189s # gboolean ret;
1189s # ret = FALSE;
1189s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1189s # g_assert (info != NULL);
1189s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1189s # if (pspec == NULL)
1189s # {
1189s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1189s # }
1189s # else
1189s # {
1189s # if (info->use_gvariant)
1189s # g_value_set_variant (&value, variant);
1189s # else
1189s # g_dbus_gvariant_to_gvalue (variant, &value);
1189s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1189s # g_value_unset (&value);
1189s # ret = TRUE;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1189s # {
1189s # _org_project_useful_interface_skeleton_handle_method_call,
1189s # _org_project_useful_interface_skeleton_handle_get_property,
1189s # _org_project_useful_interface_skeleton_handle_set_property,
1189s # {NULL}
1189s # };
1189s #
1189s # static GDBusInterfaceInfo *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return org_project_useful_interface_interface_info ();
1189s # }
1189s #
1189s # static GDBusInterfaceVTable *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1189s # {
1189s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1189s # }
1189s #
1189s # static GVariant *
1189s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1189s #
1189s # GVariantBuilder builder;
1189s # guint n;
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1189s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #else
1189s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1189s # #endif
1189s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1189s # goto out;
1189s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1189s # {
1189s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1189s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1189s # {
1189s # GVariant *value;
1189s # 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);
1189s # if (value != NULL)
1189s # {
1189s # g_variant_take_ref (value);
1189s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1189s # g_variant_unref (value);
1189s # }
1189s # }
1189s # }
1189s # out:
1189s # return g_variant_builder_end (&builder);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #else
1189s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1189s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1189s #
1189s # #endif
1189s # static void
1189s # org_project_useful_interface_skeleton_finalize (GObject *object)
1189s # {
1189s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1189s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1189s # if (skeleton->priv->changed_properties_idle_source != NULL)
1189s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1189s # g_main_context_unref (skeleton->priv->context);
1189s # g_mutex_clear (&skeleton->priv->lock);
1189s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1189s # {
1189s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1189s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1189s # #else
1189s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1189s # #endif
1189s #
1189s # g_mutex_init (&skeleton->priv->lock);
1189s # skeleton->priv->context = g_main_context_ref_thread_default ();
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1189s # {
1189s # GObjectClass *gobject_class;
1189s # GDBusInterfaceSkeletonClass *skeleton_class;
1189s #
1189s # gobject_class = G_OBJECT_CLASS (klass);
1189s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1189s #
1189s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1189s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1189s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1189s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1189s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1189s #
1189s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1189s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1189s # #endif
1189s # }
1189s #
1189s # static void
1189s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1189s # {
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_skeleton_new:
1189s # *
1189s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1189s # *
1189s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1189s # */
1189s # OrgProjectUsefulInterface *
1189s # org_project_useful_interface_skeleton_new (void)
1189s # {
1189s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1189s # }
1189s # Error:
1189s #
1189s # /tmp/tmphj7uve_d/tmploqvn61k.xml:
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s #
1189s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmploqvn61k.xml', '--output', '-', '--body']
1189s # Return code: 0
1189s # Output:
1189s # /*
1189s # * This file is generated by gdbus-codegen, do not modify it.
1189s # *
1189s # * The license of this code is the same as for the D-Bus interface description
1189s # * it was derived from. Note that it links to GLib, so must comply with the
1189s # * LGPL linking clauses.
1189s # */
1189s #
1189s # #ifdef HAVE_CONFIG_H
1189s # # include "config.h"
1189s # #endif
1189s #
1189s # #include
1189s # #ifdef G_OS_UNIX
1189s # # include
1189s # #endif
1189s #
1189s # #ifdef G_ENABLE_DEBUG
1189s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1189s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1189s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1189s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1189s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1189s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1189s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1189s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1189s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1189s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1189s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1189s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1189s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1189s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1189s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1189s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1189s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1189s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1189s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1189s # #else /* !G_ENABLE_DEBUG */
1189s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1189s # * Do not access GValues directly in your code. Instead, use the
1189s # * g_value_get_*() functions
1189s # */
1189s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1189s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1189s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1189s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1189s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1189s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1189s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1189s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1189s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1189s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1189s # #endif /* !G_ENABLE_DEBUG */
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusArgInfo parent_struct;
1189s # gboolean use_gvariant;
1189s # } _ExtendedGDBusArgInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusMethodInfo parent_struct;
1189s # const gchar *signal_name;
1189s # gboolean pass_fdlist;
1189s # } _ExtendedGDBusMethodInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusSignalInfo parent_struct;
1189s # const gchar *signal_name;
1189s # } _ExtendedGDBusSignalInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusPropertyInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # guint use_gvariant : 1;
1189s # guint emits_changed_signal : 1;
1189s # } _ExtendedGDBusPropertyInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # GDBusInterfaceInfo parent_struct;
1189s # const gchar *hyphen_name;
1189s # } _ExtendedGDBusInterfaceInfo;
1189s #
1189s # typedef struct
1189s # {
1189s # const _ExtendedGDBusPropertyInfo *info;
1189s # guint prop_id;
1189s # GValue orig_value; /* the value before the change */
1189s # } ChangedProperty;
1189s #
1189s # static void
1189s # _changed_property_free (ChangedProperty *data)
1189s # {
1189s # g_value_unset (&data->orig_value);
1189s # g_free (data);
1189s # }
1189s #
1189s # static gboolean
1189s # _g_strv_equal0 (gchar **a, gchar **b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # guint n;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # if (g_strv_length (a) != g_strv_length (b))
1189s # goto out;
1189s # for (n = 0; a[n] != NULL; n++)
1189s # if (g_strcmp0 (a[n], b[n]) != 0)
1189s # goto out;
1189s # ret = TRUE;
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # static gboolean
1189s # _g_variant_equal0 (GVariant *a, GVariant *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # if (a == NULL && b == NULL)
1189s # {
1189s # ret = TRUE;
1189s # goto out;
1189s # }
1189s # if (a == NULL || b == NULL)
1189s # goto out;
1189s # ret = g_variant_equal (a, b);
1189s # out:
1189s # return ret;
1189s # }
1189s #
1189s # G_GNUC_UNUSED static gboolean
1189s # _g_value_equal (const GValue *a, const GValue *b)
1189s # {
1189s # gboolean ret = FALSE;
1189s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1189s # switch (G_VALUE_TYPE (a))
1189s # {
1189s # case G_TYPE_BOOLEAN:
1189s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1189s # break;
1189s # case G_TYPE_UCHAR:
1189s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1189s # break;
1189s # case G_TYPE_INT:
1189s # ret = (g_value_get_int (a) == g_value_get_int (b));
1189s # break;
1189s # case G_TYPE_UINT:
1189s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1189s # break;
1189s # case G_TYPE_INT64:
1189s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1189s # break;
1189s # case G_TYPE_UINT64:
1189s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1189s # break;
1189s # case G_TYPE_DOUBLE:
1189s # {
1189s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1189s # gdouble da = g_value_get_double (a);
1189s # gdouble db = g_value_get_double (b);
1189s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1189s # }
1189s # break;
1189s # case G_TYPE_STRING:
1189s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1189s # break;
1189s # case G_TYPE_VARIANT:
1189s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1189s # break;
1189s # default:
1189s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1189s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1189s # else
1189s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1189s # break;
1189s # }
1189s # return ret;
1189s # }
1189s #
1189s # static void
1189s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
1189s # GClosure *closure,
1189s # GValue *return_value,
1189s # unsigned int n_param_values,
1189s # const GValue *param_values,
1189s # void *invocation_hint G_GNUC_UNUSED,
1189s # void *marshal_data)
1189s # {
1189s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1189s # (void *data1,
1189s # GDBusMethodInvocation *arg_method_invocation,
1189s # guint64 arg_arg_t,
1189s # void *data2);
1189s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
1189s # GCClosure *cc = (GCClosure*) closure;
1189s # void *data1, *data2;
1189s # gboolean v_return;
1189s #
1189s # g_return_if_fail (return_value != NULL);
1189s # g_return_if_fail (n_param_values == 3);
1189s #
1189s # if (G_CCLOSURE_SWAP_DATA (closure))
1189s # {
1189s # data1 = closure->data;
1189s # data2 = g_value_peek_pointer (param_values + 0);
1189s # }
1189s # else
1189s # {
1189s # data1 = g_value_peek_pointer (param_values + 0);
1189s # data2 = closure->data;
1189s # }
1189s #
1189s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1189s # (marshal_data ? marshal_data : cc->callback);
1189s #
1189s # v_return =
1189s # callback (data1,
1189s # g_marshal_value_peek_object (param_values + 1),
1189s # g_marshal_value_peek_uint64 (param_values + 2),
1189s # data2);
1189s #
1189s # g_value_set_boolean (return_value, v_return);
1189s # }
1189s #
1189s # /* ------------------------------------------------------------------------
1189s # * Code for interface org.project.UsefulInterface
1189s # * ------------------------------------------------------------------------
1189s # */
1189s #
1189s # /**
1189s # * SECTION:OrgProjectUsefulInterface
1189s # * @title: OrgProjectUsefulInterface
1189s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1189s # *
1189s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1189s # */
1189s #
1189s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1189s #
1189s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "arg_t",
1189s # (gchar *) "t",
1189s # NULL
1189s # },
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "SingleArgMethodT",
1189s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "handle-single-arg-method-t",
1189s # FALSE
1189s # };
1189s #
1189s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1189s # {
1189s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1189s # NULL
1189s # };
1189s #
1189s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1189s # {
1189s # {
1189s # -1,
1189s # (gchar *) "org.project.UsefulInterface",
1189s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1189s # NULL,
1189s # NULL,
1189s # NULL
1189s # },
1189s # "org-project-useful-interface",
1189s # };
1189s #
1189s #
1189s # /**
1189s # * org_project_useful_interface_interface_info:
1189s # *
1189s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1189s # *
1189s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1189s # */
1189s # GDBusInterfaceInfo *
1189s # org_project_useful_interface_interface_info (void)
1189s # {
1189s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1189s # }
1189s #
1189s # /**
1189s # * org_project_useful_interface_override_properties:
1189s # * @klass: The class structure for a #GObject derived class.
1189s # * @property_id_begin: The property id to assign to the first overridden property.
1189s # *
1189s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1189s # * The properties are overridden in the order they are defined.
1189s # *
1189s # * Returns: The last property id.
1189s # */
1189s # guint
1189s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1189s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_t (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_t: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-t",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_t,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_t: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_t (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint64 arg_arg_t,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodT",
1190s # g_variant_new ("(t)",
1190s # arg_arg_t),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_t_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_t: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_t_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint64 arg_arg_t,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodT",
1190s # g_variant_new ("(t)",
1190s # arg_arg_t),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_t:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_t (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpl01adwg4.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpl01adwg4.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # gdouble arg_arg_d,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_double (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodD",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-d",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_d (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_d: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-d",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_d,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_d: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_d (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gdouble arg_arg_d,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodD",
1190s # g_variant_new ("(d)",
1190s # arg_arg_d),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_d_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_d: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_d_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gdouble arg_arg_d,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodD",
1190s # g_variant_new ("(d)",
1190s # arg_arg_d),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_d:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_d (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpmzxe_zic.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpmzxe_zic.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *arg_arg_s,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_string (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodS",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-s",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_s (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_s: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-s",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_s,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_s: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_s (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_s,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodS",
1190s # g_variant_new ("(s)",
1190s # arg_arg_s),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_s_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_s: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_s_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_s,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodS",
1190s # g_variant_new ("(s)",
1190s # arg_arg_s),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_s:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_s (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmp0x0itmjg.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp0x0itmjg.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *arg_arg_o,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_string (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodO",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-o",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_o (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_o: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-o",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_o,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_o: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_o (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_o,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodO",
1190s # g_variant_new ("(o)",
1190s # arg_arg_o),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_o_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_o: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_o_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_o,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodO",
1190s # g_variant_new ("(o)",
1190s # arg_arg_o),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_o:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_o (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpwzoah8s7.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpwzoah8s7.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *arg_arg_g,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_string (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodG",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-g",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_g (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_g: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-g",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_g,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_g: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_g (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_g,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodG",
1190s # g_variant_new ("(g)",
1190s # arg_arg_g),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_g_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_g: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_g_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_g,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodG",
1190s # g_variant_new ("(g)",
1190s # arg_arg_g),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_g:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_g (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpdpszw0ku.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpdpszw0ku.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # GVariant *arg_arg_h,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_variant (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodH",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-h",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_h (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_h: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-h",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_h,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_h: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_h (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant *arg_arg_h,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodH",
1190s # g_variant_new ("(@h)",
1190s # arg_arg_h),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_h_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_h: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_h_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant *arg_arg_h,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodH",
1190s # g_variant_new ("(@h)",
1190s # arg_arg_h),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_h:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_h (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpwh2nchvp.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpwh2nchvp.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *arg_arg_ay,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_string (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAy",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-ay",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_ay: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-ay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_ay: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_ay (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_ay,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAy",
1190s # g_variant_new ("(^ay)",
1190s # arg_arg_ay),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ay_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_ay: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ay_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *arg_arg_ay,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAy",
1190s # g_variant_new ("(^ay)",
1190s # arg_arg_ay),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_ay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_ay (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpr41gc60o.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpr41gc60o.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *const *arg_arg_as,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_boxed (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAs",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-as",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_as (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_as: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-as",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_as,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_as: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_as (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_as,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAs",
1190s # g_variant_new ("(^as)",
1190s # arg_arg_as),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_as_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_as: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_as_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_as,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAs",
1190s # g_variant_new ("(^as)",
1190s # arg_arg_as),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_as:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_as (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmplgv_mbyp.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmplgv_mbyp.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *const *arg_arg_ao,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_boxed (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAo",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-ao",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_ao: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-ao",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_ao: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_ao (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_ao,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAo",
1190s # g_variant_new ("(^ao)",
1190s # arg_arg_ao),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ao_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_ao: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ao_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_ao,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAo",
1190s # g_variant_new ("(^ao)",
1190s # arg_arg_ao),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_ao:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_ao (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmp_frc1n33.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmp_frc1n33.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *const *arg_arg_aay,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_boxed (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAay",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-aay",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_aay: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-aay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_aay: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_aay (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_aay,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAay",
1190s # g_variant_new ("(^aay)",
1190s # arg_arg_aay),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_aay_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_aay: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_aay_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # const gchar *const *arg_arg_aay,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAay",
1190s # g_variant_new ("(^aay)",
1190s # arg_arg_aay),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_aay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_aay (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmphj7uve_d/tmpxrztuy8n.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj7uve_d/tmpxrztuy8n.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # GVariant *arg_arg_asv,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 3);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_variant (param_values + 2),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAsv",
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-asv",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_arg_asv: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-asv",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1190s # G_TYPE_BOOLEAN,
1190s # 2,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_asv (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant *arg_arg_asv,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAsv",
1190s # g_variant_new ("(@a{sv})",
1190s # arg_arg_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_asv_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @arg_arg_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_asv_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant *arg_arg_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAsv",
1190s # g_variant_new ("(@a{sv})",
1190s # arg_arg_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_asv:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_asv (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpdcld8qwt
1190s # /tmp/tmpdcld8qwt/tmp9yl0anc3.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp9yl0anc3.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodB",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-b",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_b (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-b",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_b,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_b:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_b (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodB",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_b_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_b_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gboolean *out_arg_b,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(b)",
1190s # out_arg_b);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_b_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_b_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gboolean *out_arg_b,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodB",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(b)",
1190s # out_arg_b);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_b:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_b: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_b (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gboolean arg_b)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(b)",
1190s # arg_b));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpbwmsx9sc.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpbwmsx9sc.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodY",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-y",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_y (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-y",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_y,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_y:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_y (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodY",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_y_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_y_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guchar *out_arg_y,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(y)",
1190s # out_arg_y);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_y_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_y_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guchar *out_arg_y,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodY",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(y)",
1190s # out_arg_y);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_y:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_y: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_y (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # guchar arg_y)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(y)",
1190s # arg_y));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpbvmh5v8f.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpbvmh5v8f.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodN",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-n",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_n (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-n",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_n,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_n:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_n (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodN",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_n_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_n_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint16 *out_arg_n,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(n)",
1190s # out_arg_n);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_n_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_n_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint16 *out_arg_n,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodN",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(n)",
1190s # out_arg_n);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_n:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_n: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_n (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gint16 arg_n)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(n)",
1190s # arg_n));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmp5lxay_6a.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp5lxay_6a.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodQ",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-q",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_q (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-q",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_q,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_q:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_q (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodQ",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_q_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_q_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint16 *out_arg_q,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(q)",
1190s # out_arg_q);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_q_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_q_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint16 *out_arg_q,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodQ",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(q)",
1190s # out_arg_q);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_q:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_q: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_q (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # guint16 arg_q)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(q)",
1190s # arg_q));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpqc8156ey.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpqc8156ey.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodI",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-i",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_i (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-i",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_i,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_i:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_i (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodI",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_i_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_i_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint *out_arg_i,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(i)",
1190s # out_arg_i);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_i_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_i_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint *out_arg_i,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodI",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(i)",
1190s # out_arg_i);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_i:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_i: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_i (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gint arg_i)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(i)",
1190s # arg_i));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmprchdfhn9.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmprchdfhn9.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodU",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-u",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_u (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-u",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_u,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_u:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_u (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodU",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_u_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_u_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint *out_arg_u,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(u)",
1190s # out_arg_u);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_u_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_u_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint *out_arg_u,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodU",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(u)",
1190s # out_arg_u);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_u:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_u: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_u (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # guint arg_u)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(u)",
1190s # arg_u));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpk8tha853.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpk8tha853.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodX",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-x",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_x (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-x",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_x,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_x:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_x (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodX",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_x_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_x_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint64 *out_arg_x,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(x)",
1190s # out_arg_x);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_x_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_x_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gint64 *out_arg_x,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodX",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(x)",
1190s # out_arg_x);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_x:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_x: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_x (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gint64 arg_x)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(x)",
1190s # arg_x));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpdv4_rnfv.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpdv4_rnfv.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodT",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-t",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_t (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-t",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_t,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_t (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodT",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_t_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint64 *out_arg_t,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(t)",
1190s # out_arg_t);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_t_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_t_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # guint64 *out_arg_t,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodT",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(t)",
1190s # out_arg_t);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_t:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_t: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_t (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # guint64 arg_t)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(t)",
1190s # arg_t));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpgju8temv.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpgju8temv.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodD",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-d",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_d (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-d",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_d,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_d (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodD",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_d_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gdouble *out_arg_d,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(d)",
1190s # out_arg_d);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_d_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_d_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gdouble *out_arg_d,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodD",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(d)",
1190s # out_arg_d);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_d:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_d: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_d (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gdouble arg_d)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(d)",
1190s # arg_d));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmp653rnsx4.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp653rnsx4.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodS",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-s",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_s (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-s",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_s,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_s (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodS",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_s_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_s,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(s)",
1190s # out_arg_s);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_s_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_s_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_s,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodS",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(s)",
1190s # out_arg_s);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_s:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_s: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_s (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *arg_s)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(s)",
1190s # arg_s));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmp3nd7abp7.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp3nd7abp7.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodO",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-o",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_o (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-o",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_o,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_o (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodO",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_o_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_o,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(o)",
1190s # out_arg_o);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_o_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_o_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_o,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodO",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(o)",
1190s # out_arg_o);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_o:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_o: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_o (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *arg_o)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(o)",
1190s # arg_o));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmphha2wh0f.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmphha2wh0f.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodG",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-g",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_g (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-g",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_g,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_g (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodG",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_g_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_g,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(g)",
1190s # out_arg_g);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_g_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_g_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_g,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodG",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(g)",
1190s # out_arg_g);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_g:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_g: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_g (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *arg_g)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(g)",
1190s # arg_g));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmp5gald0y7.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp5gald0y7.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodH",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-h",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_h (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-h",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_h,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_h (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodH",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_h_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant **out_arg_h,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(@h)",
1190s # out_arg_h);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_h_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_h_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant **out_arg_h,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodH",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(@h)",
1190s # out_arg_h);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_h:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_h: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_h (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # GVariant *arg_h)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(@h)",
1190s # arg_h));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpirtzod3v.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpirtzod3v.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAy",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-ay",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-ay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_ay (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAy",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ay_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_ay,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^ay)",
1190s # out_arg_ay);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ay_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar **out_arg_ay,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAy",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^ay)",
1190s # out_arg_ay);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_ay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_ay: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_ay (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *arg_ay)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(^ay)",
1190s # arg_ay));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpusncptcw.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpusncptcw.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAs",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-as",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_as (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-as",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_as,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_as (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAs",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_as_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_as,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^as)",
1190s # out_arg_as);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_as_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_as_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_as,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAs",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^as)",
1190s # out_arg_as);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_as:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_as: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_as (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *const *arg_as)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(^as)",
1190s # arg_as));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpdwify2y9.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpdwify2y9.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAo",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-ao",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-ao",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_ao (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAo",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ao_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_ao,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^ao)",
1190s # out_arg_ao);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_ao_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_ao,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAo",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^ao)",
1190s # out_arg_ao);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_ao:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_ao: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_ao (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *const *arg_ao)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(^ao)",
1190s # arg_ao));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmpkxrn7dbi.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmpkxrn7dbi.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAay",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-aay",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-aay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_aay (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAay",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_aay_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_aay,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^aay)",
1190s # out_arg_aay);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_aay_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # gchar ***out_arg_aay,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAay",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(^aay)",
1190s # out_arg_aay);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_aay:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_aay: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_aay (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # const gchar *const *arg_aay)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(^aay)",
1190s # arg_aay));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s #
1190s # /tmp/tmpdcld8qwt/tmp4p0j7mpz.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdcld8qwt/tmp4p0j7mpz.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "arg_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgMethodAsv",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-single-arg-method-asv",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-single-arg-method-asv",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_useful_interface_call_single_arg_method_asv (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAsv",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_asv_finish (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant **out_arg_asv,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(@a{sv})",
1190s # out_arg_asv);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1190s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1190s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_useful_interface_call_single_arg_method_asv_sync (
1190s # OrgProjectUsefulInterface *proxy,
1190s # GVariant **out_arg_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SingleArgMethodAsv",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(@a{sv})",
1190s # out_arg_asv);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_complete_single_arg_method_asv:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @arg_asv: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_useful_interface_complete_single_arg_method_asv (
1190s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # GVariant *arg_asv)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(@a{sv})",
1190s # arg_asv));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpnqzuc8ed
1190s # /tmp/tmpnqzuc8ed/tmpzbfcn1ix.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnqzuc8ed/tmpzbfcn1ix.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 20);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_boolean (param_values + 2),
1190s # g_marshal_value_peek_uchar (param_values + 3),
1190s # g_marshal_value_peek_int (param_values + 4),
1190s # g_marshal_value_peek_uint (param_values + 5),
1190s # g_marshal_value_peek_int (param_values + 6),
1190s # g_marshal_value_peek_uint (param_values + 7),
1190s # g_marshal_value_peek_int64 (param_values + 8),
1190s # g_marshal_value_peek_uint64 (param_values + 9),
1190s # g_marshal_value_peek_double (param_values + 10),
1190s # g_marshal_value_peek_string (param_values + 11),
1190s # g_marshal_value_peek_string (param_values + 12),
1190s # g_marshal_value_peek_string (param_values + 13),
1190s # g_marshal_value_peek_variant (param_values + 14),
1190s # g_marshal_value_peek_string (param_values + 15),
1190s # g_marshal_value_peek_boxed (param_values + 16),
1190s # g_marshal_value_peek_boxed (param_values + 17),
1190s # g_marshal_value_peek_boxed (param_values + 18),
1190s # g_marshal_value_peek_variant (param_values + 19),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.CallableIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectCallableIface
1190s # * @title: OrgProjectCallableIface
1190s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.CallableIface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "MethodWithManyArgs",
1190s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-method-with-many-args",
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SameMethodWithManyArgs",
1190s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-same-method-with-many-args",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1190s # {
1190s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1190s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.CallableIface",
1190s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-callable-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_callable_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_callable_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_callable_iface_method_marshal_method_with_many_args (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _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,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_callable_iface_method_marshal_same_method_with_many_args (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _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,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectCallableIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1190s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.CallableIface.
1190s # */
1190s #
1190s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectCallableIface::handle-method-with-many-args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_an_b: Argument passed by remote caller.
1190s # * @arg_an_y: Argument passed by remote caller.
1190s # * @arg_an_n: Argument passed by remote caller.
1190s # * @arg_an_q: Argument passed by remote caller.
1190s # * @arg_an_i: Argument passed by remote caller.
1190s # * @arg_an_u: Argument passed by remote caller.
1190s # * @arg_an_x: Argument passed by remote caller.
1190s # * @arg_an_t: Argument passed by remote caller.
1190s # * @arg_an_d: Argument passed by remote caller.
1190s # * @arg_an_s: Argument passed by remote caller.
1190s # * @arg_an_o: Argument passed by remote caller.
1190s # * @arg_an_g: Argument passed by remote caller.
1190s # * @arg_an_h: Argument passed by remote caller.
1190s # * @arg_an_ay: Argument passed by remote caller.
1190s # * @arg_an_as: Argument passed by remote caller.
1190s # * @arg_an_ao: Argument passed by remote caller.
1190s # * @arg_an_aay: Argument passed by remote caller.
1190s # * @arg_an_asv: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-method-with-many-args",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_callable_iface_method_marshal_method_with_many_args,
1190s # G_TYPE_BOOLEAN,
1190s # 19,
1190s # 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);
1190s #
1190s # /**
1190s # * OrgProjectCallableIface::handle-same-method-with-many-args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_an_b: Argument passed by remote caller.
1190s # * @arg_an_y: Argument passed by remote caller.
1190s # * @arg_an_n: Argument passed by remote caller.
1190s # * @arg_an_q: Argument passed by remote caller.
1190s # * @arg_an_i: Argument passed by remote caller.
1190s # * @arg_an_u: Argument passed by remote caller.
1190s # * @arg_an_x: Argument passed by remote caller.
1190s # * @arg_an_t: Argument passed by remote caller.
1190s # * @arg_an_d: Argument passed by remote caller.
1190s # * @arg_an_s: Argument passed by remote caller.
1190s # * @arg_an_o: Argument passed by remote caller.
1190s # * @arg_an_g: Argument passed by remote caller.
1190s # * @arg_an_h: Argument passed by remote caller.
1190s # * @arg_an_ay: Argument passed by remote caller.
1190s # * @arg_an_as: Argument passed by remote caller.
1190s # * @arg_an_ao: Argument passed by remote caller.
1190s # * @arg_an_aay: Argument passed by remote caller.
1190s # * @arg_an_asv: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-same-method-with-many-args",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_callable_iface_method_marshal_same_method_with_many_args,
1190s # G_TYPE_BOOLEAN,
1190s # 19,
1190s # 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);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_callable_iface_call_method_with_many_args (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args_finish:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_method_with_many_args_finish (
1190s # OrgProjectCallableIface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args_sync:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_method_with_many_args_sync (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_same_method_with_many_args:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_callable_iface_call_same_method_with_many_args (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "SameMethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_same_method_with_many_args_finish:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_same_method_with_many_args_finish (
1190s # OrgProjectCallableIface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_same_method_with_many_args_sync:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_same_method_with_many_args_sync (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "SameMethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_complete_method_with_many_args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_callable_iface_complete_method_with_many_args (
1190s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_complete_same_method_with_many_args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_callable_iface_complete_same_method_with_many_args (
1190s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceProxy:
1190s # *
1190s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectCallableIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectCallableIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_callable_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_callable_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_callable_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectCallableIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_callable_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_callable_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_callable_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1190s # {
1190s # _org_project_callable_iface_skeleton_handle_method_call,
1190s # _org_project_callable_iface_skeleton_handle_get_property,
1190s # _org_project_callable_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_callable_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_callable_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.OtherCallableIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectOtherCallableIface
1190s # * @title: OrgProjectOtherCallableIface
1190s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1190s # {
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "MethodWithManyArgs",
1190s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "handle-method-with-many-args",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1190s # {
1190s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.OtherCallableIface",
1190s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-other-callable-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_other_callable_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_other_callable_iface_method_marshal_method_with_many_args (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _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,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1190s # */
1190s #
1190s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
1190s # * @object: A #OrgProjectOtherCallableIface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @arg_an_b: Argument passed by remote caller.
1190s # * @arg_an_y: Argument passed by remote caller.
1190s # * @arg_an_n: Argument passed by remote caller.
1190s # * @arg_an_q: Argument passed by remote caller.
1190s # * @arg_an_i: Argument passed by remote caller.
1190s # * @arg_an_u: Argument passed by remote caller.
1190s # * @arg_an_x: Argument passed by remote caller.
1190s # * @arg_an_t: Argument passed by remote caller.
1190s # * @arg_an_d: Argument passed by remote caller.
1190s # * @arg_an_s: Argument passed by remote caller.
1190s # * @arg_an_o: Argument passed by remote caller.
1190s # * @arg_an_g: Argument passed by remote caller.
1190s # * @arg_an_h: Argument passed by remote caller.
1190s # * @arg_an_ay: Argument passed by remote caller.
1190s # * @arg_an_as: Argument passed by remote caller.
1190s # * @arg_an_ao: Argument passed by remote caller.
1190s # * @arg_an_aay: Argument passed by remote caller.
1190s # * @arg_an_asv: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-method-with-many-args",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_other_callable_iface_method_marshal_method_with_many_args,
1190s # G_TYPE_BOOLEAN,
1190s # 19,
1190s # 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);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_call_method_with_many_args:
1190s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_other_callable_iface_call_method_with_many_args (
1190s # OrgProjectOtherCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_call_method_with_many_args_finish:
1190s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_other_callable_iface_call_method_with_many_args_finish (
1190s # OrgProjectOtherCallableIface *proxy,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_call_method_with_many_args_sync:
1190s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1190s # * @arg_an_b: Argument to pass with the method invocation.
1190s # * @arg_an_y: Argument to pass with the method invocation.
1190s # * @arg_an_n: Argument to pass with the method invocation.
1190s # * @arg_an_q: Argument to pass with the method invocation.
1190s # * @arg_an_i: Argument to pass with the method invocation.
1190s # * @arg_an_u: Argument to pass with the method invocation.
1190s # * @arg_an_x: Argument to pass with the method invocation.
1190s # * @arg_an_t: Argument to pass with the method invocation.
1190s # * @arg_an_d: Argument to pass with the method invocation.
1190s # * @arg_an_s: Argument to pass with the method invocation.
1190s # * @arg_an_o: Argument to pass with the method invocation.
1190s # * @arg_an_g: Argument to pass with the method invocation.
1190s # * @arg_an_h: Argument to pass with the method invocation.
1190s # * @arg_an_ay: Argument to pass with the method invocation.
1190s # * @arg_an_as: Argument to pass with the method invocation.
1190s # * @arg_an_ao: Argument to pass with the method invocation.
1190s # * @arg_an_aay: Argument to pass with the method invocation.
1190s # * @arg_an_asv: Argument to pass with the method invocation.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_other_callable_iface_call_method_with_many_args_sync (
1190s # OrgProjectOtherCallableIface *proxy,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "()");
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_complete_method_with_many_args:
1190s # * @object: A #OrgProjectOtherCallableIface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_other_callable_iface_complete_method_with_many_args (
1190s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("()"));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIfaceProxy:
1190s # *
1190s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_callable_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherCallableIface *
1190s # org_project_other_callable_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherCallableIface *
1190s # org_project_other_callable_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_callable_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherCallableIface *
1190s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherCallableIface *
1190s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherCallableIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_other_callable_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_other_callable_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_other_callable_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1190s # {
1190s # _org_project_other_callable_iface_skeleton_handle_method_call,
1190s # _org_project_other_callable_iface_skeleton_handle_get_property,
1190s # _org_project_other_callable_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_other_callable_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_callable_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectOtherCallableIface *
1190s # org_project_other_callable_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpxugrz7rz
1190s # /tmp/tmpxugrz7rz/tmpq8sbwhp4.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxugrz7rz/tmpq8sbwhp4.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (void *data1,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.CallableIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectCallableIface
1190s # * @title: OrgProjectCallableIface
1190s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for org.project.CallableIface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
1190s # {
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
1190s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "MethodWithManyArgs",
1190s # NULL,
1190s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-method-with-many-args",
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1190s # {
1190s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.CallableIface",
1190s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-callable-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_callable_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_callable_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_callable_iface_method_marshal_method_with_many_args (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectCallableIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.CallableIface.
1190s # */
1190s #
1190s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * OrgProjectCallableIface::handle-method-with-many-args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-method-with-many-args",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # org_project_callable_iface_method_marshal_method_with_many_args,
1190s # G_TYPE_BOOLEAN,
1190s # 1,
1190s # G_TYPE_DBUS_METHOD_INVOCATION);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # org_project_callable_iface_call_method_with_many_args (
1190s # OrgProjectCallableIface *proxy,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args_finish:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_method_with_many_args_finish (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean *out_an_b,
1190s # guchar *out_an_y,
1190s # gint16 *out_an_n,
1190s # guint16 *out_an_q,
1190s # gint *out_an_i,
1190s # guint *out_an_u,
1190s # gint64 *out_an_x,
1190s # guint64 *out_an_t,
1190s # gdouble *out_an_d,
1190s # gchar **out_an_s,
1190s # gchar **out_an_o,
1190s # gchar **out_an_g,
1190s # GVariant **out_an_h,
1190s # gchar **out_an_ay,
1190s # gchar ***out_an_as,
1190s # gchar ***out_an_ao,
1190s # gchar ***out_an_aay,
1190s # GVariant **out_an_asv,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # out_an_b,
1190s # out_an_y,
1190s # out_an_n,
1190s # out_an_q,
1190s # out_an_i,
1190s # out_an_u,
1190s # out_an_x,
1190s # out_an_t,
1190s # out_an_d,
1190s # out_an_s,
1190s # out_an_o,
1190s # out_an_g,
1190s # out_an_h,
1190s # out_an_ay,
1190s # out_an_as,
1190s # out_an_ao,
1190s # out_an_aay,
1190s # out_an_asv);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_call_method_with_many_args_sync:
1190s # * @proxy: A #OrgProjectCallableIfaceProxy.
1190s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1190s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # org_project_callable_iface_call_method_with_many_args_sync (
1190s # OrgProjectCallableIface *proxy,
1190s # gboolean *out_an_b,
1190s # guchar *out_an_y,
1190s # gint16 *out_an_n,
1190s # guint16 *out_an_q,
1190s # gint *out_an_i,
1190s # guint *out_an_u,
1190s # gint64 *out_an_x,
1190s # guint64 *out_an_t,
1190s # gdouble *out_an_d,
1190s # gchar **out_an_s,
1190s # gchar **out_an_o,
1190s # gchar **out_an_g,
1190s # GVariant **out_an_h,
1190s # gchar **out_an_ay,
1190s # gchar ***out_an_as,
1190s # gchar ***out_an_ao,
1190s # gchar ***out_an_aay,
1190s # GVariant **out_an_asv,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1190s # "MethodWithManyArgs",
1190s # g_variant_new ("()"),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # out_an_b,
1190s # out_an_y,
1190s # out_an_n,
1190s # out_an_q,
1190s # out_an_i,
1190s # out_an_u,
1190s # out_an_x,
1190s # out_an_t,
1190s # out_an_d,
1190s # out_an_s,
1190s # out_an_o,
1190s # out_an_g,
1190s # out_an_h,
1190s # out_an_ay,
1190s # out_an_as,
1190s # out_an_ao,
1190s # out_an_aay,
1190s # out_an_asv);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_complete_method_with_many_args:
1190s # * @object: A #OrgProjectCallableIface.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @an_b: Parameter to return.
1190s # * @an_y: Parameter to return.
1190s # * @an_n: Parameter to return.
1190s # * @an_q: Parameter to return.
1190s # * @an_i: Parameter to return.
1190s # * @an_u: Parameter to return.
1190s # * @an_x: Parameter to return.
1190s # * @an_t: Parameter to return.
1190s # * @an_d: Parameter to return.
1190s # * @an_s: Parameter to return.
1190s # * @an_o: Parameter to return.
1190s # * @an_g: Parameter to return.
1190s # * @an_h: Parameter to return.
1190s # * @an_ay: Parameter to return.
1190s # * @an_as: Parameter to return.
1190s # * @an_ao: Parameter to return.
1190s # * @an_aay: Parameter to return.
1190s # * @an_asv: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # org_project_callable_iface_complete_method_with_many_args (
1190s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # gboolean an_b,
1190s # guchar an_y,
1190s # gint16 an_n,
1190s # guint16 an_q,
1190s # gint an_i,
1190s # guint an_u,
1190s # gint64 an_x,
1190s # guint64 an_t,
1190s # gdouble an_d,
1190s # const gchar *an_s,
1190s # const gchar *an_o,
1190s # const gchar *an_g,
1190s # GVariant *an_h,
1190s # const gchar *an_ay,
1190s # const gchar *const *an_as,
1190s # const gchar *const *an_ao,
1190s # const gchar *const *an_aay,
1190s # GVariant *an_asv)
1190s # {
1190s # g_dbus_method_invocation_return_value (invocation,
1190s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # an_b,
1190s # an_y,
1190s # an_n,
1190s # an_q,
1190s # an_i,
1190s # an_u,
1190s # an_x,
1190s # an_t,
1190s # an_d,
1190s # an_s,
1190s # an_o,
1190s # an_g,
1190s # an_h,
1190s # an_ay,
1190s # an_as,
1190s # an_ao,
1190s # an_aay,
1190s # an_asv));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceProxy:
1190s # *
1190s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectCallableIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectCallableIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_callable_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_callable_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_callable_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectCallableIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectCallableIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_callable_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_callable_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_callable_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1190s # {
1190s # _org_project_callable_iface_skeleton_handle_method_call,
1190s # _org_project_callable_iface_skeleton_handle_get_property,
1190s # _org_project_callable_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_callable_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_callable_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_callable_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectCallableIface *
1190s # org_project_callable_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpsf77fnrz
1190s # /tmp/tmpsf77fnrz/tmpk7jzgfl9.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsf77fnrz/tmpk7jzgfl9.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1190s # (void *data1,
1190s # GUnixFDList *arg_fd_list,
1190s # GDBusMethodInvocation *arg_method_invocation,
1190s # const gchar *arg_greeting,
1190s # void *data2);
1190s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s # gboolean v_return;
1190s #
1190s # g_return_if_fail (return_value != NULL);
1190s # g_return_if_fail (n_param_values == 4);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # v_return =
1190s # callback (data1,
1190s # g_marshal_value_peek_object (param_values + 1),
1190s # g_marshal_value_peek_object (param_values + 2),
1190s # g_marshal_value_peek_string (param_values + 3),
1190s # data2);
1190s #
1190s # g_value_set_boolean (return_value, v_return);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface test.FDPassing
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:TestFDPassing
1190s # * @title: TestFDPassing
1190s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
1190s # *
1190s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
1190s # */
1190s #
1190s # /* ---- Introspection data for test.FDPassing ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "greeting",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
1190s # {
1190s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "response",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
1190s # {
1190s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "HelloFD",
1190s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
1190s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
1190s # NULL
1190s # },
1190s # "handle-hello-fd",
1190s # TRUE
1190s # };
1190s #
1190s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
1190s # {
1190s # &_test_fdpassing_method_info_hello_fd.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "test.FDPassing",
1190s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
1190s # NULL,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "test-fdpassing",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * test_fdpassing_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # test_fdpassing_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # test_fdpassing_method_marshal_hello_fd (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * TestFDPassing:
1190s # *
1190s # * Abstract interface type for the D-Bus interface test.FDPassing.
1190s # */
1190s #
1190s # /**
1190s # * TestFDPassingIface:
1190s # * @parent_iface: The parent interface.
1190s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
1190s # *
1190s # * Virtual table for the D-Bus interface test.FDPassing.
1190s # */
1190s #
1190s # typedef TestFDPassingIface TestFDPassingInterface;
1190s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # test_fdpassing_default_init (TestFDPassingIface *iface)
1190s # {
1190s # /* GObject signals for incoming D-Bus method calls: */
1190s # /**
1190s # * TestFDPassing::handle-hello-fd:
1190s # * @object: A #TestFDPassing.
1190s # * @invocation: A #GDBusMethodInvocation.
1190s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1190s # * @arg_greeting: Argument passed by remote caller.
1190s # *
1190s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
1190s # *
1190s # * If 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.
1190s # *
1190s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1190s # */
1190s # g_signal_new ("handle-hello-fd",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
1190s # g_signal_accumulator_true_handled,
1190s # NULL,
1190s # test_fdpassing_method_marshal_hello_fd,
1190s # G_TYPE_BOOLEAN,
1190s # 3,
1190s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_call_hello_fd:
1190s # * @proxy: A #TestFDPassingProxy.
1190s # * @arg_greeting: Argument to pass with the method invocation.
1190s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
1190s # *
1190s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
1190s # */
1190s # void
1190s # test_fdpassing_call_hello_fd (
1190s # TestFDPassing *proxy,
1190s # const gchar *arg_greeting,
1190s # GUnixFDList *fd_list,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
1190s # "HelloFD",
1190s # g_variant_new ("(s)",
1190s # arg_greeting),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # fd_list,
1190s # cancellable,
1190s # callback,
1190s # user_data);
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_call_hello_fd_finish:
1190s # * @proxy: A #TestFDPassingProxy.
1190s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Finishes an operation started with test_fdpassing_call_hello_fd().
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # test_fdpassing_call_hello_fd_finish (
1190s # TestFDPassing *proxy,
1190s # gchar **out_response,
1190s # GUnixFDList **out_fd_list,
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(s)",
1190s # out_response);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_call_hello_fd_sync:
1190s # * @proxy: A #TestFDPassingProxy.
1190s # * @arg_greeting: Argument to pass with the method invocation.
1190s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1190s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1190s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL.
1190s # *
1190s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1190s # *
1190s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
1190s # *
1190s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1190s # */
1190s # gboolean
1190s # test_fdpassing_call_hello_fd_sync (
1190s # TestFDPassing *proxy,
1190s # const gchar *arg_greeting,
1190s # GUnixFDList *fd_list,
1190s # gchar **out_response,
1190s # GUnixFDList **out_fd_list,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GVariant *_ret;
1190s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
1190s # "HelloFD",
1190s # g_variant_new ("(s)",
1190s # arg_greeting),
1190s # G_DBUS_CALL_FLAGS_NONE,
1190s # -1,
1190s # fd_list,
1190s # out_fd_list,
1190s # cancellable,
1190s # error);
1190s # if (_ret == NULL)
1190s # goto _out;
1190s # g_variant_get (_ret,
1190s # "(s)",
1190s # out_response);
1190s # g_variant_unref (_ret);
1190s # _out:
1190s # return _ret != NULL;
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_complete_hello_fd:
1190s # * @object: A #TestFDPassing.
1190s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1190s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1190s # * @response: Parameter to return.
1190s # *
1190s # * 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.
1190s # *
1190s # * This method will free @invocation, you cannot use it afterwards.
1190s # */
1190s # void
1190s # test_fdpassing_complete_hello_fd (
1190s # TestFDPassing *object G_GNUC_UNUSED,
1190s # GDBusMethodInvocation *invocation,
1190s # GUnixFDList *fd_list,
1190s # const gchar *response)
1190s # {
1190s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
1190s # g_variant_new ("(s)",
1190s # response),
1190s # fd_list);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * TestFDPassingProxy:
1190s # *
1190s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * TestFDPassingProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #TestFDPassingProxy.
1190s # */
1190s #
1190s # struct _TestFDPassingProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (TestFDPassingProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # test_fdpassing_proxy_finalize (GObject *object)
1190s # {
1190s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = test_fdpassing_proxy_finalize;
1190s # gobject_class->get_property = test_fdpassing_proxy_get_property;
1190s # gobject_class->set_property = test_fdpassing_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
1190s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # test_fdpassing_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with test_fdpassing_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # TestFDPassing *
1190s # test_fdpassing_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return TEST_FDPASSING (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # TestFDPassing *
1190s # test_fdpassing_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return TEST_FDPASSING (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # test_fdpassing_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # TestFDPassing *
1190s # test_fdpassing_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return TEST_FDPASSING (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # TestFDPassing *
1190s # test_fdpassing_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return TEST_FDPASSING (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * TestFDPassingSkeleton:
1190s # *
1190s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * TestFDPassingSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #TestFDPassingSkeleton.
1190s # */
1190s #
1190s # struct _TestFDPassingSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _test_fdpassing_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _test_fdpassing_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _test_fdpassing_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
1190s # {
1190s # _test_fdpassing_skeleton_handle_method_call,
1190s # _test_fdpassing_skeleton_handle_get_property,
1190s # _test_fdpassing_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return test_fdpassing_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (TestFDPassingSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # test_fdpassing_skeleton_finalize (GObject *object)
1190s # {
1190s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * test_fdpassing_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
1190s # *
1190s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
1190s # */
1190s # TestFDPassing *
1190s # test_fdpassing_skeleton_new (void)
1190s # {
1190s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 15 __main__.TestCodegen.test_generate_rst
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpkx_6u8m7
1190s # /tmp/tmpkx_6u8m7/tmpyq4yoixz.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkx_6u8m7/tmpyq4yoixz.xml', '--generate-rst', 'test']
1190s # Return code: 0
1190s # Output:
1190s #
1190s # Error:
1190s ok 16 __main__.TestCodegen.test_generate_rst_method
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpi27bi1q6
1190s # /tmp/tmpi27bi1q6/tmplx8fou1e.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi27bi1q6/tmplx8fou1e.xml', '--generate-rst', 'test']
1190s # Return code: 0
1190s # Output:
1190s #
1190s # Error:
1190s ok 17 __main__.TestCodegen.test_generate_rst_property
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpdevwkm1o
1190s # /tmp/tmpdevwkm1o/tmphtkupeio.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdevwkm1o/tmphtkupeio.xml', '--generate-rst', 'test']
1190s # Return code: 0
1190s # Output:
1190s #
1190s # Error:
1190s ok 18 __main__.TestCodegen.test_generate_rst_signal
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpsnpv218i
1190s # /tmp/tmpsnpv218i/tmp9a4uu5mz.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsnpv218i/tmp9a4uu5mz.xml', '--generate-rst', 'test']
1190s # Return code: 0
1190s # Output:
1190s #
1190s # Error:
1190s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmp7a5vygwa
1190s # /tmp/tmp7a5vygwa/tmpgpopdaad.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7a5vygwa/tmpgpopdaad.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1190s # GClosure *closure,
1190s # GValue *return_value G_GNUC_UNUSED,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1190s # (void *data1,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv,
1190s # void *data2);
1190s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s #
1190s # g_return_if_fail (n_param_values == 19);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # callback (data1,
1190s # g_marshal_value_peek_boolean (param_values + 1),
1190s # g_marshal_value_peek_uchar (param_values + 2),
1190s # g_marshal_value_peek_int (param_values + 3),
1190s # g_marshal_value_peek_uint (param_values + 4),
1190s # g_marshal_value_peek_int (param_values + 5),
1190s # g_marshal_value_peek_uint (param_values + 6),
1190s # g_marshal_value_peek_int64 (param_values + 7),
1190s # g_marshal_value_peek_uint64 (param_values + 8),
1190s # g_marshal_value_peek_double (param_values + 9),
1190s # g_marshal_value_peek_string (param_values + 10),
1190s # g_marshal_value_peek_string (param_values + 11),
1190s # g_marshal_value_peek_string (param_values + 12),
1190s # g_marshal_value_peek_variant (param_values + 13),
1190s # g_marshal_value_peek_string (param_values + 14),
1190s # g_marshal_value_peek_boxed (param_values + 15),
1190s # g_marshal_value_peek_boxed (param_values + 16),
1190s # g_marshal_value_peek_boxed (param_values + 17),
1190s # g_marshal_value_peek_variant (param_values + 18),
1190s # data2);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.SignalingIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectSignalingIface
1190s # * @title: OrgProjectSignalingIface
1190s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.SignalingIface ---- */
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SignalWithManyArgs",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1190s # NULL
1190s # },
1190s # "signal-with-many-args"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.SignalingIface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-signaling-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_signaling_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectSignalingIface::signal-with-many-args:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_b: Argument.
1190s # * @arg_an_y: Argument.
1190s # * @arg_an_n: Argument.
1190s # * @arg_an_q: Argument.
1190s # * @arg_an_i: Argument.
1190s # * @arg_an_u: Argument.
1190s # * @arg_an_x: Argument.
1190s # * @arg_an_t: Argument.
1190s # * @arg_an_d: Argument.
1190s # * @arg_an_s: Argument.
1190s # * @arg_an_o: Argument.
1190s # * @arg_an_g: Argument.
1190s # * @arg_an_h: Argument.
1190s # * @arg_an_ay: Argument.
1190s # * @arg_an_as: Argument.
1190s # * @arg_an_ao: Argument.
1190s # * @arg_an_aay: Argument.
1190s # * @arg_an_asv: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1190s # g_signal_new ("signal-with-many-args",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1190s # G_TYPE_NONE,
1190s # 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);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_signal_with_many_args:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_b: Argument to pass with the signal.
1190s # * @arg_an_y: Argument to pass with the signal.
1190s # * @arg_an_n: Argument to pass with the signal.
1190s # * @arg_an_q: Argument to pass with the signal.
1190s # * @arg_an_i: Argument to pass with the signal.
1190s # * @arg_an_u: Argument to pass with the signal.
1190s # * @arg_an_x: Argument to pass with the signal.
1190s # * @arg_an_t: Argument to pass with the signal.
1190s # * @arg_an_d: Argument to pass with the signal.
1190s # * @arg_an_s: Argument to pass with the signal.
1190s # * @arg_an_o: Argument to pass with the signal.
1190s # * @arg_an_g: Argument to pass with the signal.
1190s # * @arg_an_h: Argument to pass with the signal.
1190s # * @arg_an_ay: Argument to pass with the signal.
1190s # * @arg_an_as: Argument to pass with the signal.
1190s # * @arg_an_ao: Argument to pass with the signal.
1190s # * @arg_an_aay: Argument to pass with the signal.
1190s # * @arg_an_asv: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SignalWithManyArgs" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_signal_with_many_args (
1190s # OrgProjectSignalingIface *object,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxy:
1190s # *
1190s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_signaling_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_signaling_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_signaling_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1190s # {
1190s # _org_project_signaling_iface_skeleton_handle_method_call,
1190s # _org_project_signaling_iface_skeleton_handle_get_property,
1190s # _org_project_signaling_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_signaling_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1190s # OrgProjectSignalingIface *object,
1190s # gboolean arg_an_b,
1190s # guchar arg_an_y,
1190s # gint16 arg_an_n,
1190s # guint16 arg_an_q,
1190s # gint arg_an_i,
1190s # guint arg_an_u,
1190s # gint64 arg_an_x,
1190s # guint64 arg_an_t,
1190s # gdouble arg_an_d,
1190s # const gchar *arg_an_s,
1190s # const gchar *arg_an_o,
1190s # const gchar *arg_an_g,
1190s # GVariant *arg_an_h,
1190s # const gchar *arg_an_ay,
1190s # const gchar *const *arg_an_as,
1190s # const gchar *const *arg_an_ao,
1190s # const gchar *const *arg_an_aay,
1190s # GVariant *arg_an_asv)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1190s # arg_an_b,
1190s # arg_an_y,
1190s # arg_an_n,
1190s # arg_an_q,
1190s # arg_an_i,
1190s # arg_an_u,
1190s # arg_an_x,
1190s # arg_an_t,
1190s # arg_an_d,
1190s # arg_an_s,
1190s # arg_an_o,
1190s # arg_an_g,
1190s # arg_an_h,
1190s # arg_an_ay,
1190s # arg_an_as,
1190s # arg_an_ao,
1190s # arg_an_aay,
1190s # arg_an_asv));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpiopn87zd
1190s # /tmp/tmpiopn87zd/tmpoobtvwr4.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiopn87zd/tmpoobtvwr4.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_VOID__INT64 (
1190s # GClosure *closure,
1190s # GValue *return_value G_GNUC_UNUSED,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1190s # (void *data1,
1190s # gint64 arg_an_x,
1190s # void *data2);
1190s # _GDbusCodegenMarshalVoid_Int64Func callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s #
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # callback (data1,
1190s # g_marshal_value_peek_int64 (param_values + 1),
1190s # data2);
1190s # }
1190s #
1190s # static void
1190s # _g_dbus_codegen_marshal_VOID__UINT64 (
1190s # GClosure *closure,
1190s # GValue *return_value G_GNUC_UNUSED,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint G_GNUC_UNUSED,
1190s # void *marshal_data)
1190s # {
1190s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1190s # (void *data1,
1190s # guint64 arg_an_t,
1190s # void *data2);
1190s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1190s # GCClosure *cc = (GCClosure*) closure;
1190s # void *data1, *data2;
1190s #
1190s # g_return_if_fail (n_param_values == 2);
1190s #
1190s # if (G_CCLOSURE_SWAP_DATA (closure))
1190s # {
1190s # data1 = closure->data;
1190s # data2 = g_value_peek_pointer (param_values + 0);
1190s # }
1190s # else
1190s # {
1190s # data1 = g_value_peek_pointer (param_values + 0);
1190s # data2 = closure->data;
1190s # }
1190s #
1190s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1190s # (marshal_data ? marshal_data : cc->callback);
1190s #
1190s # callback (data1,
1190s # g_marshal_value_peek_uint64 (param_values + 1),
1190s # data2);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.SignalingIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectSignalingIface
1190s # * @title: OrgProjectSignalingIface
1190s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1190s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.SignalingIface ---- */
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "NoArgSignal",
1190s # NULL,
1190s # NULL
1190s # },
1190s # "no-arg-signal"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_b",
1190s # (gchar *) "b",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalB",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-b"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_y",
1190s # (gchar *) "y",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalY",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-y"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_n",
1190s # (gchar *) "n",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalN",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-n"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_q",
1190s # (gchar *) "q",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalQ",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-q"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_i",
1190s # (gchar *) "i",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalI",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-i"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_u",
1190s # (gchar *) "u",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalU",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-u"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_x",
1190s # (gchar *) "x",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalX",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-x"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_t",
1190s # (gchar *) "t",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalT",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-t"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_d",
1190s # (gchar *) "d",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalD",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-d"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_s",
1190s # (gchar *) "s",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalS",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-s"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_o",
1190s # (gchar *) "o",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalO",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-o"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_g",
1190s # (gchar *) "g",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalG",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-g"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_h",
1190s # (gchar *) "h",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalH",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-h"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ay",
1190s # (gchar *) "ay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalAY",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-ay"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_as",
1190s # (gchar *) "as",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalAS",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-as"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_ao",
1190s # (gchar *) "ao",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalAO",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-ao"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_aay",
1190s # (gchar *) "aay",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalAAY",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-aay"
1190s # };
1190s #
1190s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "an_asv",
1190s # (gchar *) "a{sv}",
1190s # NULL
1190s # },
1190s # FALSE
1190s # };
1190s #
1190s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SingleArgSignalASV",
1190s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1190s # NULL
1190s # },
1190s # "single-arg-signal-asv"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1190s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.SignalingIface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-signaling-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_signaling_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_no_arg_signal (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VOID (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__UCHAR (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__INT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__UINT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__INT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__UINT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__DOUBLE (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VARIANT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__STRING (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__BOXED (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VARIANT (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
1190s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1190s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1190s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1190s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1190s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1190s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1190s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1190s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1190s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1190s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1190s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1190s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1190s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1190s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1190s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1190s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1190s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1190s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectSignalingIface::no-arg-signal:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
1190s # g_signal_new ("no-arg-signal",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_no_arg_signal,
1190s # G_TYPE_NONE,
1190s # 0);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-b:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_b: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1190s # g_signal_new ("single-arg-signal-b",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_BOOLEAN);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-y:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_y: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1190s # g_signal_new ("single-arg-signal-y",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_UCHAR);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-n:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_n: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1190s # g_signal_new ("single-arg-signal-n",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_INT);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-q:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_q: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1190s # g_signal_new ("single-arg-signal-q",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_UINT);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-i:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_i: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1190s # g_signal_new ("single-arg-signal-i",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_INT);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-u:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_u: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1190s # g_signal_new ("single-arg-signal-u",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_UINT);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-x:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_x: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1190s # g_signal_new ("single-arg-signal-x",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_INT64);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-t:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_t: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1190s # g_signal_new ("single-arg-signal-t",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_UINT64);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-d:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_d: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1190s # g_signal_new ("single-arg-signal-d",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_DOUBLE);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-s:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_s: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1190s # g_signal_new ("single-arg-signal-s",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRING);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-o:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_o: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1190s # g_signal_new ("single-arg-signal-o",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRING);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-g:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_g: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1190s # g_signal_new ("single-arg-signal-g",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRING);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-h:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_h: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1190s # g_signal_new ("single-arg-signal-h",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_VARIANT);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-ay:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_ay: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1190s # g_signal_new ("single-arg-signal-ay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRING);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-as:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_as: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1190s # g_signal_new ("single-arg-signal-as",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRV);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-ao:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_ao: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1190s # g_signal_new ("single-arg-signal-ao",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRV);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-aay:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_aay: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1190s # g_signal_new ("single-arg-signal-aay",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_STRV);
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface::single-arg-signal-asv:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_asv: Argument.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1190s # g_signal_new ("single-arg-signal-asv",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1190s # G_TYPE_NONE,
1190s # 1, G_TYPE_VARIANT);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_no_arg_signal:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # *
1190s # * Emits the "NoArgSignal" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_no_arg_signal (
1190s # OrgProjectSignalingIface *object)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_b:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_b: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalB" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_b (
1190s # OrgProjectSignalingIface *object,
1190s # gboolean arg_an_b)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_y:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_y: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalY" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_y (
1190s # OrgProjectSignalingIface *object,
1190s # guchar arg_an_y)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_n:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_n: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalN" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_n (
1190s # OrgProjectSignalingIface *object,
1190s # gint16 arg_an_n)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_q:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_q: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalQ" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_q (
1190s # OrgProjectSignalingIface *object,
1190s # guint16 arg_an_q)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_i:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_i: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalI" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_i (
1190s # OrgProjectSignalingIface *object,
1190s # gint arg_an_i)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_u:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_u: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalU" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_u (
1190s # OrgProjectSignalingIface *object,
1190s # guint arg_an_u)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_x:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_x: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalX" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_x (
1190s # OrgProjectSignalingIface *object,
1190s # gint64 arg_an_x)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_t:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_t: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalT" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_t (
1190s # OrgProjectSignalingIface *object,
1190s # guint64 arg_an_t)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_d:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_d: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalD" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_d (
1190s # OrgProjectSignalingIface *object,
1190s # gdouble arg_an_d)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_s:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_s: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalS" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_s (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_s)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_o:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_o: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalO" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_o (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_o)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_g:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_g: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalG" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_g (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_g)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_h:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_h: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalH" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_h (
1190s # OrgProjectSignalingIface *object,
1190s # GVariant *arg_an_h)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_ay: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalAY" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_ay (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_ay)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_as:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_as: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalAS" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_as (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_as)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_ao: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalAO" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_ao (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_ao)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_aay: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalAAY" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_aay (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_aay)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # * @arg_an_asv: Argument to pass with the signal.
1190s # *
1190s # * Emits the "SingleArgSignalASV" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_single_arg_signal_asv (
1190s # OrgProjectSignalingIface *object,
1190s # GVariant *arg_an_asv)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxy:
1190s # *
1190s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_signaling_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_signaling_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_signaling_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1190s # {
1190s # _org_project_signaling_iface_skeleton_handle_method_call,
1190s # _org_project_signaling_iface_skeleton_handle_get_property,
1190s # _org_project_signaling_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_signaling_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_no_arg_signal (
1190s # OrgProjectSignalingIface *object)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1190s # OrgProjectSignalingIface *object,
1190s # gboolean arg_an_b)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1190s # arg_an_b));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1190s # OrgProjectSignalingIface *object,
1190s # guchar arg_an_y)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1190s # arg_an_y));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1190s # OrgProjectSignalingIface *object,
1190s # gint16 arg_an_n)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1190s # arg_an_n));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1190s # OrgProjectSignalingIface *object,
1190s # guint16 arg_an_q)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1190s # arg_an_q));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1190s # OrgProjectSignalingIface *object,
1190s # gint arg_an_i)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1190s # arg_an_i));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1190s # OrgProjectSignalingIface *object,
1190s # guint arg_an_u)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1190s # arg_an_u));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1190s # OrgProjectSignalingIface *object,
1190s # gint64 arg_an_x)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1190s # arg_an_x));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1190s # OrgProjectSignalingIface *object,
1190s # guint64 arg_an_t)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1190s # arg_an_t));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1190s # OrgProjectSignalingIface *object,
1190s # gdouble arg_an_d)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1190s # arg_an_d));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_s)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1190s # arg_an_s));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_o)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1190s # arg_an_o));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_g)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1190s # arg_an_g));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1190s # OrgProjectSignalingIface *object,
1190s # GVariant *arg_an_h)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1190s # arg_an_h));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *arg_an_ay)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1190s # arg_an_ay));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_as)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1190s # arg_an_as));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_ao)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1190s # arg_an_ao));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1190s # OrgProjectSignalingIface *object,
1190s # const gchar *const *arg_an_aay)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1190s # arg_an_aay));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1190s # OrgProjectSignalingIface *object,
1190s # GVariant *arg_an_asv)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1190s # arg_an_asv));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
1190s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1190s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1190s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1190s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1190s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1190s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1190s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1190s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1190s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1190s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1190s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1190s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1190s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1190s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1190s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1190s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1190s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1190s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmpzim8h3a4
1190s # /tmp/tmpzim8h3a4/tmp4ax3emsu.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzim8h3a4/tmp4ax3emsu.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.UsefulInterface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectUsefulInterface
1190s # * @title: OrgProjectUsefulInterface
1190s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SimpleSignal",
1190s # NULL,
1190s # NULL
1190s # },
1190s # "simple-signal"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.UsefulInterface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-useful-interface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_useful_interface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_useful_interface_signal_marshal_simple_signal (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VOID (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1190s # */
1190s #
1190s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectUsefulInterface::simple-signal:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
1190s # g_signal_new ("simple-signal",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
1190s # NULL,
1190s # NULL,
1190s # org_project_useful_interface_signal_marshal_simple_signal,
1190s # G_TYPE_NONE,
1190s # 0);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_emit_simple_signal:
1190s # * @object: A #OrgProjectUsefulInterface.
1190s # *
1190s # * Emits the "SimpleSignal" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_useful_interface_emit_simple_signal (
1190s # OrgProjectUsefulInterface *object)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxy:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1190s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1190s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_useful_interface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # g_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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeleton:
1190s # *
1190s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectUsefulInterfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_useful_interface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_useful_interface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_useful_interface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1190s # {
1190s # _org_project_useful_interface_skeleton_handle_method_call,
1190s # _org_project_useful_interface_skeleton_handle_get_property,
1190s # _org_project_useful_interface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_useful_interface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_useful_interface_on_signal_simple_signal (
1190s # OrgProjectUsefulInterface *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_useful_interface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
1190s # {
1190s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
1190s # }
1190s #
1190s # /**
1190s # * org_project_useful_interface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectUsefulInterface *
1190s # org_project_useful_interface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.OtherIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectOtherIface
1190s # * @title: OrgProjectOtherIface
1190s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.OtherIface ---- */
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SimpleSignal",
1190s # NULL,
1190s # NULL
1190s # },
1190s # "simple-signal"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.OtherIface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-other-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_other_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_other_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_other_iface_signal_marshal_simple_signal (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VOID (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectOtherIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.OtherIface.
1190s # */
1190s #
1190s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectOtherIface::simple-signal:
1190s # * @object: A #OrgProjectOtherIface.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
1190s # g_signal_new ("simple-signal",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
1190s # NULL,
1190s # NULL,
1190s # org_project_other_iface_signal_marshal_simple_signal,
1190s # G_TYPE_NONE,
1190s # 0);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_emit_simple_signal:
1190s # * @object: A #OrgProjectOtherIface.
1190s # *
1190s # * Emits the "SimpleSignal" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_other_iface_emit_simple_signal (
1190s # OrgProjectOtherIface *object)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherIfaceProxy:
1190s # *
1190s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectOtherIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherIface *
1190s # org_project_other_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherIface *
1190s # org_project_other_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherIface *
1190s # org_project_other_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherIface *
1190s # org_project_other_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectOtherIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_other_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_other_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_other_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
1190s # {
1190s # _org_project_other_iface_skeleton_handle_method_call,
1190s # _org_project_other_iface_skeleton_handle_get_property,
1190s # _org_project_other_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_other_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_other_iface_on_signal_simple_signal (
1190s # OrgProjectOtherIface *object)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
1190s # {
1190s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectOtherIface *
1190s # org_project_other_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1190s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
1190s # gdbus-codegen: /usr/bin/gdbus-codegen
1190s # tmpdir: /tmp/tmprnlpfqbu
1190s # /tmp/tmprnlpfqbu/tmps068phwu.xml:
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s #
1190s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprnlpfqbu/tmps068phwu.xml', '--output', '-', '--body']
1190s # Return code: 0
1190s # Output:
1190s # /*
1190s # * This file is generated by gdbus-codegen, do not modify it.
1190s # *
1190s # * The license of this code is the same as for the D-Bus interface description
1190s # * it was derived from. Note that it links to GLib, so must comply with the
1190s # * LGPL linking clauses.
1190s # */
1190s #
1190s # #ifdef HAVE_CONFIG_H
1190s # # include "config.h"
1190s # #endif
1190s #
1190s # #include
1190s # #ifdef G_OS_UNIX
1190s # # include
1190s # #endif
1190s #
1190s # #ifdef G_ENABLE_DEBUG
1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1190s # #else /* !G_ENABLE_DEBUG */
1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1190s # * Do not access GValues directly in your code. Instead, use the
1190s # * g_value_get_*() functions
1190s # */
1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1190s # #endif /* !G_ENABLE_DEBUG */
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusArgInfo parent_struct;
1190s # gboolean use_gvariant;
1190s # } _ExtendedGDBusArgInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusMethodInfo parent_struct;
1190s # const gchar *signal_name;
1190s # gboolean pass_fdlist;
1190s # } _ExtendedGDBusMethodInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusSignalInfo parent_struct;
1190s # const gchar *signal_name;
1190s # } _ExtendedGDBusSignalInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusPropertyInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # guint use_gvariant : 1;
1190s # guint emits_changed_signal : 1;
1190s # } _ExtendedGDBusPropertyInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # GDBusInterfaceInfo parent_struct;
1190s # const gchar *hyphen_name;
1190s # } _ExtendedGDBusInterfaceInfo;
1190s #
1190s # typedef struct
1190s # {
1190s # const _ExtendedGDBusPropertyInfo *info;
1190s # guint prop_id;
1190s # GValue orig_value; /* the value before the change */
1190s # } ChangedProperty;
1190s #
1190s # static void
1190s # _changed_property_free (ChangedProperty *data)
1190s # {
1190s # g_value_unset (&data->orig_value);
1190s # g_free (data);
1190s # }
1190s #
1190s # static gboolean
1190s # _g_strv_equal0 (gchar **a, gchar **b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # guint n;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # if (g_strv_length (a) != g_strv_length (b))
1190s # goto out;
1190s # for (n = 0; a[n] != NULL; n++)
1190s # if (g_strcmp0 (a[n], b[n]) != 0)
1190s # goto out;
1190s # ret = TRUE;
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _g_variant_equal0 (GVariant *a, GVariant *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # if (a == NULL && b == NULL)
1190s # {
1190s # ret = TRUE;
1190s # goto out;
1190s # }
1190s # if (a == NULL || b == NULL)
1190s # goto out;
1190s # ret = g_variant_equal (a, b);
1190s # out:
1190s # return ret;
1190s # }
1190s #
1190s # G_GNUC_UNUSED static gboolean
1190s # _g_value_equal (const GValue *a, const GValue *b)
1190s # {
1190s # gboolean ret = FALSE;
1190s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1190s # switch (G_VALUE_TYPE (a))
1190s # {
1190s # case G_TYPE_BOOLEAN:
1190s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1190s # break;
1190s # case G_TYPE_UCHAR:
1190s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1190s # break;
1190s # case G_TYPE_INT:
1190s # ret = (g_value_get_int (a) == g_value_get_int (b));
1190s # break;
1190s # case G_TYPE_UINT:
1190s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1190s # break;
1190s # case G_TYPE_INT64:
1190s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1190s # break;
1190s # case G_TYPE_UINT64:
1190s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1190s # break;
1190s # case G_TYPE_DOUBLE:
1190s # {
1190s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1190s # gdouble da = g_value_get_double (a);
1190s # gdouble db = g_value_get_double (b);
1190s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1190s # }
1190s # break;
1190s # case G_TYPE_STRING:
1190s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1190s # break;
1190s # case G_TYPE_VARIANT:
1190s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1190s # break;
1190s # default:
1190s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1190s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1190s # else
1190s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1190s # break;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.SignalingIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectSignalingIface
1190s # * @title: OrgProjectSignalingIface
1190s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.SignalingIface ---- */
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SimpleSignal",
1190s # NULL,
1190s # NULL
1190s # },
1190s # "simple-signal"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.SignalingIface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-signaling-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_signaling_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_signaling_iface_signal_marshal_simple_signal (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VOID (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectSignalingIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1190s # */
1190s #
1190s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectSignalingIface::simple-signal:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1190s # g_signal_new ("simple-signal",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1190s # NULL,
1190s # NULL,
1190s # org_project_signaling_iface_signal_marshal_simple_signal,
1190s # G_TYPE_NONE,
1190s # 0);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_emit_simple_signal:
1190s # * @object: A #OrgProjectSignalingIface.
1190s # *
1190s # * Emits the "SimpleSignal" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_signaling_iface_emit_simple_signal (
1190s # OrgProjectSignalingIface *object)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxy:
1190s # *
1190s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_signaling_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectSignalingIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_signaling_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_signaling_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_signaling_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1190s # {
1190s # _org_project_signaling_iface_skeleton_handle_method_call,
1190s # _org_project_signaling_iface_skeleton_handle_get_property,
1190s # _org_project_signaling_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_signaling_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_signaling_iface_on_signal_simple_signal (
1190s # OrgProjectSignalingIface *object)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1190s # {
1190s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1190s # }
1190s #
1190s # /**
1190s # * org_project_signaling_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectSignalingIface *
1190s # org_project_signaling_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------
1190s # * Code for interface org.project.OtherSignalingIface
1190s # * ------------------------------------------------------------------------
1190s # */
1190s #
1190s # /**
1190s # * SECTION:OrgProjectOtherSignalingIface
1190s # * @title: OrgProjectOtherSignalingIface
1190s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
1190s # *
1190s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
1190s # */
1190s #
1190s # enum
1190s # {
1190s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
1190s # };
1190s #
1190s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1190s #
1190s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
1190s #
1190s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "SimpleSignal",
1190s # NULL,
1190s # NULL
1190s # },
1190s # "simple-signal"
1190s # };
1190s #
1190s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
1190s # {
1190s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
1190s # NULL
1190s # };
1190s #
1190s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
1190s # {
1190s # {
1190s # -1,
1190s # (gchar *) "org.project.OtherSignalingIface",
1190s # NULL,
1190s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
1190s # NULL,
1190s # NULL
1190s # },
1190s # "org-project-other-signaling-iface",
1190s # };
1190s #
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_interface_info:
1190s # *
1190s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
1190s # *
1190s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1190s # */
1190s # GDBusInterfaceInfo *
1190s # org_project_other_signaling_iface_interface_info (void)
1190s # {
1190s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_override_properties:
1190s # * @klass: The class structure for a #GObject derived class.
1190s # * @property_id_begin: The property id to assign to the first overridden property.
1190s # *
1190s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
1190s # * The properties are overridden in the order they are defined.
1190s # *
1190s # * Returns: The last property id.
1190s # */
1190s # guint
1190s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1190s # {
1190s # return property_id_begin - 1;
1190s # }
1190s #
1190s #
1190s # inline static void
1190s # org_project_other_signaling_iface_signal_marshal_simple_signal (
1190s # GClosure *closure,
1190s # GValue *return_value,
1190s # unsigned int n_param_values,
1190s # const GValue *param_values,
1190s # void *invocation_hint,
1190s # void *marshal_data)
1190s # {
1190s # g_cclosure_marshal_VOID__VOID (closure,
1190s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1190s # }
1190s #
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIface:
1190s # *
1190s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIfaceIface:
1190s # * @parent_iface: The parent interface.
1190s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
1190s # *
1190s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
1190s # */
1190s #
1190s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
1190s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
1190s # {
1190s # /* GObject signals for received D-Bus signals: */
1190s # /**
1190s # * OrgProjectOtherSignalingIface::simple-signal:
1190s # * @object: A #OrgProjectOtherSignalingIface.
1190s # *
1190s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1190s # *
1190s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1190s # */
1190s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1190s # g_signal_new ("simple-signal",
1190s # G_TYPE_FROM_INTERFACE (iface),
1190s # G_SIGNAL_RUN_LAST,
1190s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
1190s # NULL,
1190s # NULL,
1190s # org_project_other_signaling_iface_signal_marshal_simple_signal,
1190s # G_TYPE_NONE,
1190s # 0);
1190s #
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_emit_simple_signal:
1190s # * @object: A #OrgProjectOtherSignalingIface.
1190s # *
1190s # * Emits the "SimpleSignal" D-Bus signal.
1190s # */
1190s # void
1190s # org_project_other_signaling_iface_emit_simple_signal (
1190s # OrgProjectOtherSignalingIface *object)
1190s # {
1190s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1190s # }
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIfaceProxy:
1190s # *
1190s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIfaceProxyClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
1190s # */
1190s #
1190s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
1190s # {
1190s # GData *qdata;
1190s # };
1190s #
1190s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
1190s # g_datalist_clear (&proxy->priv->qdata);
1190s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1190s # guint prop_id G_GNUC_UNUSED,
1190s # const GValue *value G_GNUC_UNUSED,
1190s # GParamSpec *pspec G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1190s # const gchar *sender_name G_GNUC_UNUSED,
1190s # const gchar *signal_name,
1190s # GVariant *parameters)
1190s # {
1190s # _ExtendedGDBusSignalInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # gsize n;
1190s # guint signal_id;
1190s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
1190s # if (info == NULL)
1190s # return;
1190s # num_params = g_variant_n_children (parameters);
1190s # paramv = g_new0 (GValue, num_params + 1);
1190s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[0], proxy);
1190s # g_variant_iter_init (&iter, parameters);
1190s # n = 1;
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1190s # g_signal_emitv (paramv, signal_id, 0, NULL);
1190s # for (n = 0; n < num_params + 1; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1190s # GVariant *changed_properties,
1190s # const gchar *const *invalidated_properties)
1190s # {
1190s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
1190s # guint n;
1190s # const gchar *key;
1190s # GVariantIter *iter;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # g_variant_get (changed_properties, "a{sv}", &iter);
1190s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
1190s # g_datalist_remove_data (&proxy->priv->qdata, key);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # g_variant_iter_free (iter);
1190s # for (n = 0; invalidated_properties[n] != NULL; n++)
1190s # {
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1190s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1190s # if (info != NULL)
1190s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1190s # }
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
1190s # #else
1190s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
1190s # #endif
1190s #
1190s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusProxyClass *proxy_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
1190s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
1190s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
1190s #
1190s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1190s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
1190s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_signaling_iface_proxy_new (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherSignalingIface *
1190s # org_project_other_signaling_iface_proxy_new_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new_sync:
1190s # * @connection: A #GDBusConnection.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherSignalingIface *
1190s # org_project_other_signaling_iface_proxy_new_sync (
1190s # GDBusConnection *connection,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new_for_bus:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1190s # * @user_data: User data to pass to @callback.
1190s # *
1190s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1190s # *
1190s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1190s # */
1190s # void
1190s # org_project_other_signaling_iface_proxy_new_for_bus (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GAsyncReadyCallback callback,
1190s # gpointer user_data)
1190s # {
1190s # 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);
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
1190s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherSignalingIface *
1190s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
1190s # GAsyncResult *res,
1190s # GError **error)
1190s # {
1190s # GObject *ret;
1190s # GObject *source_object;
1190s # source_object = g_async_result_get_source_object (res);
1190s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1190s # g_object_unref (source_object);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
1190s # * @bus_type: A #GBusType.
1190s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1190s # * @name: A bus name (well-known or unique).
1190s # * @object_path: An object path.
1190s # * @cancellable: (nullable): A #GCancellable or %NULL.
1190s # * @error: Return location for error or %NULL
1190s # *
1190s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1190s # *
1190s # * The calling thread is blocked until a reply is received.
1190s # *
1190s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1190s # */
1190s # OrgProjectOtherSignalingIface *
1190s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
1190s # GBusType bus_type,
1190s # GDBusProxyFlags flags,
1190s # const gchar *name,
1190s # const gchar *object_path,
1190s # GCancellable *cancellable,
1190s # GError **error)
1190s # {
1190s # GInitable *ret;
1190s # 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);
1190s # if (ret != NULL)
1190s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1190s # else
1190s # return NULL;
1190s # }
1190s #
1190s #
1190s # /* ------------------------------------------------------------------------ */
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIfaceSkeleton:
1190s # *
1190s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1190s # */
1190s #
1190s # /**
1190s # * OrgProjectOtherSignalingIfaceSkeletonClass:
1190s # * @parent_class: The parent class.
1190s # *
1190s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
1190s # */
1190s #
1190s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
1190s # {
1190s # GValue *properties;
1190s # GList *changed_properties;
1190s # GSource *changed_properties_idle_source;
1190s # GMainContext *context;
1190s # GMutex lock;
1190s # };
1190s #
1190s # static void
1190s # _org_project_other_signaling_iface_skeleton_handle_method_call (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name,
1190s # const gchar *method_name,
1190s # GVariant *parameters,
1190s # GDBusMethodInvocation *invocation,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1190s # _ExtendedGDBusMethodInfo *info;
1190s # GVariantIter iter;
1190s # GVariant *child;
1190s # GValue *paramv;
1190s # gsize num_params;
1190s # guint num_extra;
1190s # gsize n;
1190s # guint signal_id;
1190s # GValue return_value = G_VALUE_INIT;
1190s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1190s # g_assert (info != NULL);
1190s # num_params = g_variant_n_children (parameters);
1190s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1190s # n = 0;
1190s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1190s # g_value_set_object (¶mv[n++], skeleton);
1190s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1190s # g_value_set_object (¶mv[n++], invocation);
1190s # if (info->pass_fdlist)
1190s # {
1190s # #ifdef G_OS_UNIX
1190s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1190s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1190s # #else
1190s # g_assert_not_reached ();
1190s # #endif
1190s # }
1190s # g_variant_iter_init (&iter, parameters);
1190s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1190s # {
1190s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1190s # if (arg_info->use_gvariant)
1190s # {
1190s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1190s # g_value_set_variant (¶mv[n], child);
1190s # n++;
1190s # }
1190s # else
1190s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1190s # g_variant_unref (child);
1190s # }
1190s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1190s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1190s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1190s # if (!g_value_get_boolean (&return_value))
1190s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1190s # g_value_unset (&return_value);
1190s # for (n = 0; n < num_params + num_extra; n++)
1190s # g_value_unset (¶mv[n]);
1190s # g_free (paramv);
1190s # }
1190s #
1190s # static GVariant *
1190s # _org_project_other_signaling_iface_skeleton_handle_get_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # GVariant *ret;
1190s # ret = NULL;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # g_value_init (&value, pspec->value_type);
1190s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1190s # g_value_unset (&value);
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static gboolean
1190s # _org_project_other_signaling_iface_skeleton_handle_set_property (
1190s # GDBusConnection *connection G_GNUC_UNUSED,
1190s # const gchar *sender G_GNUC_UNUSED,
1190s # const gchar *object_path G_GNUC_UNUSED,
1190s # const gchar *interface_name G_GNUC_UNUSED,
1190s # const gchar *property_name,
1190s # GVariant *variant,
1190s # GError **error,
1190s # gpointer user_data)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1190s # GValue value = G_VALUE_INIT;
1190s # GParamSpec *pspec;
1190s # _ExtendedGDBusPropertyInfo *info;
1190s # gboolean ret;
1190s # ret = FALSE;
1190s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1190s # g_assert (info != NULL);
1190s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1190s # if (pspec == NULL)
1190s # {
1190s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1190s # }
1190s # else
1190s # {
1190s # if (info->use_gvariant)
1190s # g_value_set_variant (&value, variant);
1190s # else
1190s # g_dbus_gvariant_to_gvalue (variant, &value);
1190s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1190s # g_value_unset (&value);
1190s # ret = TRUE;
1190s # }
1190s # return ret;
1190s # }
1190s #
1190s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
1190s # {
1190s # _org_project_other_signaling_iface_skeleton_handle_method_call,
1190s # _org_project_other_signaling_iface_skeleton_handle_get_property,
1190s # _org_project_other_signaling_iface_skeleton_handle_set_property,
1190s # {NULL}
1190s # };
1190s #
1190s # static GDBusInterfaceInfo *
1190s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return org_project_other_signaling_iface_interface_info ();
1190s # }
1190s #
1190s # static GDBusInterfaceVTable *
1190s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1190s # {
1190s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
1190s # }
1190s #
1190s # static GVariant *
1190s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
1190s #
1190s # GVariantBuilder builder;
1190s # guint n;
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1190s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #else
1190s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1190s # #endif
1190s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
1190s # goto out;
1190s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1190s # {
1190s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
1190s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1190s # {
1190s # GVariant *value;
1190s # 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);
1190s # if (value != NULL)
1190s # {
1190s # g_variant_take_ref (value);
1190s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1190s # g_variant_unref (value);
1190s # }
1190s # }
1190s # }
1190s # out:
1190s # return g_variant_builder_end (&builder);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1190s # {
1190s # }
1190s #
1190s # static void
1190s # _org_project_other_signaling_iface_on_signal_simple_signal (
1190s # OrgProjectOtherSignalingIface *object)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1190s #
1190s # GList *connections, *l;
1190s # GVariant *signal_variant;
1190s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1190s #
1190s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1190s # for (l = connections; l != NULL; l = l->next)
1190s # {
1190s # GDBusConnection *connection = l->data;
1190s # g_dbus_connection_emit_signal (connection,
1190s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
1190s # signal_variant, NULL);
1190s # }
1190s # g_variant_unref (signal_variant);
1190s # g_list_free_full (connections, g_object_unref);
1190s # }
1190s #
1190s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1190s #
1190s # #else
1190s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1190s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1190s #
1190s # #endif
1190s # static void
1190s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
1190s # {
1190s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1190s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1190s # if (skeleton->priv->changed_properties_idle_source != NULL)
1190s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1190s # g_main_context_unref (skeleton->priv->context);
1190s # g_mutex_clear (&skeleton->priv->lock);
1190s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
1190s # {
1190s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1190s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
1190s # #else
1190s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
1190s # #endif
1190s #
1190s # g_mutex_init (&skeleton->priv->lock);
1190s # skeleton->priv->context = g_main_context_ref_thread_default ();
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
1190s # {
1190s # GObjectClass *gobject_class;
1190s # GDBusInterfaceSkeletonClass *skeleton_class;
1190s #
1190s # gobject_class = G_OBJECT_CLASS (klass);
1190s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
1190s #
1190s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1190s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
1190s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
1190s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
1190s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
1190s #
1190s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1190s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
1190s # #endif
1190s # }
1190s #
1190s # static void
1190s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
1190s # {
1190s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
1190s # }
1190s #
1190s # /**
1190s # * org_project_other_signaling_iface_skeleton_new:
1190s # *
1190s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
1190s # *
1190s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
1190s # */
1190s # OrgProjectOtherSignalingIface *
1190s # org_project_other_signaling_iface_skeleton_new (void)
1190s # {
1190s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
1190s # }
1190s # Error:
1191s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp8qcuib5f
1191s # /tmp/tmp8qcuib5f/tmp1p_i66ix.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp1p_i66ix.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_b",
1191s # (gchar *) "b",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalB",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-b"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-b:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_b: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1191s # g_signal_new ("single-arg-signal-b",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_BOOLEAN);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_b:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_b: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalB" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_b (
1191s # OrgProjectSignalingIface *object,
1191s # gboolean arg_arg_b)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1191s # OrgProjectSignalingIface *object,
1191s # gboolean arg_arg_b)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1191s # arg_arg_b));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpgv43cjae.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpgv43cjae.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_y",
1191s # (gchar *) "y",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalY",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-y"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__UCHAR (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-y:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_y: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1191s # g_signal_new ("single-arg-signal-y",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_UCHAR);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_y:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_y: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalY" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_y (
1191s # OrgProjectSignalingIface *object,
1191s # guchar arg_arg_y)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1191s # OrgProjectSignalingIface *object,
1191s # guchar arg_arg_y)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1191s # arg_arg_y));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpvizgqyue.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpvizgqyue.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_n",
1191s # (gchar *) "n",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalN",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-n"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__INT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-n:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_n: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1191s # g_signal_new ("single-arg-signal-n",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_INT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_n:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_n: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalN" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_n (
1191s # OrgProjectSignalingIface *object,
1191s # gint16 arg_arg_n)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1191s # OrgProjectSignalingIface *object,
1191s # gint16 arg_arg_n)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1191s # arg_arg_n));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmppfkx41_y.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmppfkx41_y.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_q",
1191s # (gchar *) "q",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalQ",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-q"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__UINT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-q:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_q: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1191s # g_signal_new ("single-arg-signal-q",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_UINT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_q:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_q: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalQ" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_q (
1191s # OrgProjectSignalingIface *object,
1191s # guint16 arg_arg_q)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1191s # OrgProjectSignalingIface *object,
1191s # guint16 arg_arg_q)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1191s # arg_arg_q));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp11ltmybm.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp11ltmybm.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_i",
1191s # (gchar *) "i",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalI",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-i"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__INT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-i:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_i: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1191s # g_signal_new ("single-arg-signal-i",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_INT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_i:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_i: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalI" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_i (
1191s # OrgProjectSignalingIface *object,
1191s # gint arg_arg_i)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1191s # OrgProjectSignalingIface *object,
1191s # gint arg_arg_i)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1191s # arg_arg_i));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp2gkmeqtt.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp2gkmeqtt.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_u",
1191s # (gchar *) "u",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalU",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-u"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__UINT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-u:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_u: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1191s # g_signal_new ("single-arg-signal-u",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_UINT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_u:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_u: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalU" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_u (
1191s # OrgProjectSignalingIface *object,
1191s # guint arg_arg_u)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1191s # OrgProjectSignalingIface *object,
1191s # guint arg_arg_u)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1191s # arg_arg_u));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp4vcr4f6j.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp4vcr4f6j.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static void
1191s # _g_dbus_codegen_marshal_VOID__INT64 (
1191s # GClosure *closure,
1191s # GValue *return_value G_GNUC_UNUSED,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint G_GNUC_UNUSED,
1191s # void *marshal_data)
1191s # {
1191s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1191s # (void *data1,
1191s # gint64 arg_arg_x,
1191s # void *data2);
1191s # _GDbusCodegenMarshalVoid_Int64Func callback;
1191s # GCClosure *cc = (GCClosure*) closure;
1191s # void *data1, *data2;
1191s #
1191s # g_return_if_fail (n_param_values == 2);
1191s #
1191s # if (G_CCLOSURE_SWAP_DATA (closure))
1191s # {
1191s # data1 = closure->data;
1191s # data2 = g_value_peek_pointer (param_values + 0);
1191s # }
1191s # else
1191s # {
1191s # data1 = g_value_peek_pointer (param_values + 0);
1191s # data2 = closure->data;
1191s # }
1191s #
1191s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1191s # (marshal_data ? marshal_data : cc->callback);
1191s #
1191s # callback (data1,
1191s # g_marshal_value_peek_int64 (param_values + 1),
1191s # data2);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_x",
1191s # (gchar *) "x",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalX",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-x"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-x:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_x: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1191s # g_signal_new ("single-arg-signal-x",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_INT64);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_x:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_x: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalX" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_x (
1191s # OrgProjectSignalingIface *object,
1191s # gint64 arg_arg_x)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1191s # OrgProjectSignalingIface *object,
1191s # gint64 arg_arg_x)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1191s # arg_arg_x));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpkgyn42fx.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpkgyn42fx.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static void
1191s # _g_dbus_codegen_marshal_VOID__UINT64 (
1191s # GClosure *closure,
1191s # GValue *return_value G_GNUC_UNUSED,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint G_GNUC_UNUSED,
1191s # void *marshal_data)
1191s # {
1191s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1191s # (void *data1,
1191s # guint64 arg_arg_t,
1191s # void *data2);
1191s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1191s # GCClosure *cc = (GCClosure*) closure;
1191s # void *data1, *data2;
1191s #
1191s # g_return_if_fail (n_param_values == 2);
1191s #
1191s # if (G_CCLOSURE_SWAP_DATA (closure))
1191s # {
1191s # data1 = closure->data;
1191s # data2 = g_value_peek_pointer (param_values + 0);
1191s # }
1191s # else
1191s # {
1191s # data1 = g_value_peek_pointer (param_values + 0);
1191s # data2 = closure->data;
1191s # }
1191s #
1191s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1191s # (marshal_data ? marshal_data : cc->callback);
1191s #
1191s # callback (data1,
1191s # g_marshal_value_peek_uint64 (param_values + 1),
1191s # data2);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_t",
1191s # (gchar *) "t",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalT",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-t"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-t:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_t: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1191s # g_signal_new ("single-arg-signal-t",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_UINT64);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_t:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_t: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalT" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_t (
1191s # OrgProjectSignalingIface *object,
1191s # guint64 arg_arg_t)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1191s # OrgProjectSignalingIface *object,
1191s # guint64 arg_arg_t)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1191s # arg_arg_t));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp96z8t7f7.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp96z8t7f7.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_d",
1191s # (gchar *) "d",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalD",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-d"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__DOUBLE (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-d:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_d: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1191s # g_signal_new ("single-arg-signal-d",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_DOUBLE);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_d:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_d: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalD" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_d (
1191s # OrgProjectSignalingIface *object,
1191s # gdouble arg_arg_d)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1191s # OrgProjectSignalingIface *object,
1191s # gdouble arg_arg_d)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1191s # arg_arg_d));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp0efpwskc.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp0efpwskc.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_s",
1191s # (gchar *) "s",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalS",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-s"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__STRING (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-s:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_s: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1191s # g_signal_new ("single-arg-signal-s",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRING);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_s:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_s: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalS" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_s (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_s)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_s)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1191s # arg_arg_s));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp_wajjbs3.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp_wajjbs3.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_o",
1191s # (gchar *) "o",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalO",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-o"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__STRING (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-o:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_o: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1191s # g_signal_new ("single-arg-signal-o",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRING);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_o:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_o: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalO" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_o (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_o)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_o)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1191s # arg_arg_o));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp_n_u3n72.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp_n_u3n72.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_g",
1191s # (gchar *) "g",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalG",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-g"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__STRING (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-g:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_g: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1191s # g_signal_new ("single-arg-signal-g",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRING);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_g:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_g: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalG" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_g (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_g)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_g)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1191s # arg_arg_g));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp8zpp9mhu.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp8zpp9mhu.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_h",
1191s # (gchar *) "h",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalH",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-h"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VARIANT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-h:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_h: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1191s # g_signal_new ("single-arg-signal-h",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_VARIANT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_h:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_h: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalH" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_h (
1191s # OrgProjectSignalingIface *object,
1191s # GVariant *arg_arg_h)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1191s # OrgProjectSignalingIface *object,
1191s # GVariant *arg_arg_h)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1191s # arg_arg_h));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp36gwyh9g.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp36gwyh9g.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_ay",
1191s # (gchar *) "ay",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalAy",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-ay"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__STRING (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-ay:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_ay: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1191s # g_signal_new ("single-arg-signal-ay",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRING);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_ay: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalAy" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_ay (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_ay)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *arg_arg_ay)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1191s # arg_arg_ay));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpdlvb2zc7.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpdlvb2zc7.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_as",
1191s # (gchar *) "as",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalAs",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-as"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__BOXED (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-as:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_as: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1191s # g_signal_new ("single-arg-signal-as",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRV);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_as:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_as: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalAs" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_as (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_as)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_as)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1191s # arg_arg_as));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpoxqvsst1.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpoxqvsst1.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_ao",
1191s # (gchar *) "ao",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalAo",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-ao"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__BOXED (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-ao:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_ao: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1191s # g_signal_new ("single-arg-signal-ao",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRV);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_ao: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalAo" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_ao (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_ao)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_ao)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1191s # arg_arg_ao));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmp_jiithc4.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmp_jiithc4.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_aay",
1191s # (gchar *) "aay",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalAay",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-aay"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__BOXED (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-aay:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_aay: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1191s # g_signal_new ("single-arg-signal-aay",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_STRV);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_aay: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalAay" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_aay (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_aay)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1191s # OrgProjectSignalingIface *object,
1191s # const gchar *const *arg_arg_aay)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1191s # arg_arg_aay));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s #
1191s # /tmp/tmp8qcuib5f/tmpxv8njf72.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qcuib5f/tmpxv8njf72.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "arg_asv",
1191s # (gchar *) "a{sv}",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SingleArgSignalAsv",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1191s # NULL
1191s # },
1191s # "single-arg-signal-asv"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VARIANT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::single-arg-signal-asv:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_asv: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1191s # g_signal_new ("single-arg-signal-asv",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1191s # G_TYPE_NONE,
1191s # 1, G_TYPE_VARIANT);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_arg_asv: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SingleArgSignalAsv" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_single_arg_signal_asv (
1191s # OrgProjectSignalingIface *object,
1191s # GVariant *arg_arg_asv)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1191s # OrgProjectSignalingIface *object,
1191s # GVariant *arg_arg_asv)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1191s # arg_arg_asv));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp0esk1y8i
1191s # /tmp/tmp0esk1y8i/tmpv0kgpkgb.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0esk1y8i/tmpv0kgpkgb.xml', '--output', '-', '--body']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifdef HAVE_CONFIG_H
1191s # # include "config.h"
1191s # #endif
1191s #
1191s # #include
1191s # #ifdef G_OS_UNIX
1191s # # include
1191s # #endif
1191s #
1191s # #ifdef G_ENABLE_DEBUG
1191s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1191s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1191s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1191s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1191s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1191s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1191s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1191s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1191s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1191s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1191s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1191s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1191s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1191s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1191s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1191s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1191s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1191s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1191s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1191s # #else /* !G_ENABLE_DEBUG */
1191s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1191s # * Do not access GValues directly in your code. Instead, use the
1191s # * g_value_get_*() functions
1191s # */
1191s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1191s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1191s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1191s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1191s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1191s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1191s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1191s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1191s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1191s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1191s # #endif /* !G_ENABLE_DEBUG */
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusArgInfo parent_struct;
1191s # gboolean use_gvariant;
1191s # } _ExtendedGDBusArgInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusMethodInfo parent_struct;
1191s # const gchar *signal_name;
1191s # gboolean pass_fdlist;
1191s # } _ExtendedGDBusMethodInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusSignalInfo parent_struct;
1191s # const gchar *signal_name;
1191s # } _ExtendedGDBusSignalInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusPropertyInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # guint use_gvariant : 1;
1191s # guint emits_changed_signal : 1;
1191s # } _ExtendedGDBusPropertyInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # GDBusInterfaceInfo parent_struct;
1191s # const gchar *hyphen_name;
1191s # } _ExtendedGDBusInterfaceInfo;
1191s #
1191s # typedef struct
1191s # {
1191s # const _ExtendedGDBusPropertyInfo *info;
1191s # guint prop_id;
1191s # GValue orig_value; /* the value before the change */
1191s # } ChangedProperty;
1191s #
1191s # static void
1191s # _changed_property_free (ChangedProperty *data)
1191s # {
1191s # g_value_unset (&data->orig_value);
1191s # g_free (data);
1191s # }
1191s #
1191s # static gboolean
1191s # _g_strv_equal0 (gchar **a, gchar **b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # guint n;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # if (g_strv_length (a) != g_strv_length (b))
1191s # goto out;
1191s # for (n = 0; a[n] != NULL; n++)
1191s # if (g_strcmp0 (a[n], b[n]) != 0)
1191s # goto out;
1191s # ret = TRUE;
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _g_variant_equal0 (GVariant *a, GVariant *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # if (a == NULL && b == NULL)
1191s # {
1191s # ret = TRUE;
1191s # goto out;
1191s # }
1191s # if (a == NULL || b == NULL)
1191s # goto out;
1191s # ret = g_variant_equal (a, b);
1191s # out:
1191s # return ret;
1191s # }
1191s #
1191s # G_GNUC_UNUSED static gboolean
1191s # _g_value_equal (const GValue *a, const GValue *b)
1191s # {
1191s # gboolean ret = FALSE;
1191s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1191s # switch (G_VALUE_TYPE (a))
1191s # {
1191s # case G_TYPE_BOOLEAN:
1191s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1191s # break;
1191s # case G_TYPE_UCHAR:
1191s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1191s # break;
1191s # case G_TYPE_INT:
1191s # ret = (g_value_get_int (a) == g_value_get_int (b));
1191s # break;
1191s # case G_TYPE_UINT:
1191s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1191s # break;
1191s # case G_TYPE_INT64:
1191s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1191s # break;
1191s # case G_TYPE_UINT64:
1191s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1191s # break;
1191s # case G_TYPE_DOUBLE:
1191s # {
1191s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1191s # gdouble da = g_value_get_double (a);
1191s # gdouble db = g_value_get_double (b);
1191s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1191s # }
1191s # break;
1191s # case G_TYPE_STRING:
1191s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1191s # break;
1191s # case G_TYPE_VARIANT:
1191s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1191s # break;
1191s # default:
1191s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1191s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1191s # else
1191s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1191s # break;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static void
1191s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1191s # GClosure *closure,
1191s # GValue *return_value G_GNUC_UNUSED,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint G_GNUC_UNUSED,
1191s # void *marshal_data)
1191s # {
1191s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1191s # (void *data1,
1191s # gboolean arg_an_b,
1191s # guchar arg_an_y,
1191s # gint16 arg_an_n,
1191s # guint16 arg_an_q,
1191s # gint arg_an_i,
1191s # guint arg_an_u,
1191s # gint64 arg_an_x,
1191s # guint64 arg_an_t,
1191s # gdouble arg_an_d,
1191s # const gchar *arg_an_s,
1191s # const gchar *arg_an_o,
1191s # const gchar *arg_an_g,
1191s # GVariant *arg_an_h,
1191s # const gchar *arg_an_ay,
1191s # const gchar *const *arg_an_as,
1191s # const gchar *const *arg_an_ao,
1191s # const gchar *const *arg_an_aay,
1191s # GVariant *arg_an_asv,
1191s # void *data2);
1191s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1191s # GCClosure *cc = (GCClosure*) closure;
1191s # void *data1, *data2;
1191s #
1191s # g_return_if_fail (n_param_values == 19);
1191s #
1191s # if (G_CCLOSURE_SWAP_DATA (closure))
1191s # {
1191s # data1 = closure->data;
1191s # data2 = g_value_peek_pointer (param_values + 0);
1191s # }
1191s # else
1191s # {
1191s # data1 = g_value_peek_pointer (param_values + 0);
1191s # data2 = closure->data;
1191s # }
1191s #
1191s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1191s # (marshal_data ? marshal_data : cc->callback);
1191s #
1191s # callback (data1,
1191s # g_marshal_value_peek_boolean (param_values + 1),
1191s # g_marshal_value_peek_uchar (param_values + 2),
1191s # g_marshal_value_peek_int (param_values + 3),
1191s # g_marshal_value_peek_uint (param_values + 4),
1191s # g_marshal_value_peek_int (param_values + 5),
1191s # g_marshal_value_peek_uint (param_values + 6),
1191s # g_marshal_value_peek_int64 (param_values + 7),
1191s # g_marshal_value_peek_uint64 (param_values + 8),
1191s # g_marshal_value_peek_double (param_values + 9),
1191s # g_marshal_value_peek_string (param_values + 10),
1191s # g_marshal_value_peek_string (param_values + 11),
1191s # g_marshal_value_peek_string (param_values + 12),
1191s # g_marshal_value_peek_variant (param_values + 13),
1191s # g_marshal_value_peek_string (param_values + 14),
1191s # g_marshal_value_peek_boxed (param_values + 15),
1191s # g_marshal_value_peek_boxed (param_values + 16),
1191s # g_marshal_value_peek_boxed (param_values + 17),
1191s # g_marshal_value_peek_variant (param_values + 18),
1191s # data2);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------
1191s # * Code for interface org.project.SignalingIface
1191s # * ------------------------------------------------------------------------
1191s # */
1191s #
1191s # /**
1191s # * SECTION:OrgProjectSignalingIface
1191s # * @title: OrgProjectSignalingIface
1191s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1191s # *
1191s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1191s # */
1191s #
1191s # enum
1191s # {
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1191s # };
1191s #
1191s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1191s #
1191s # /* ---- Introspection data for org.project.SignalingIface ---- */
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SimpleSignal",
1191s # NULL,
1191s # NULL
1191s # },
1191s # "simple-signal"
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_b",
1191s # (gchar *) "b",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_y",
1191s # (gchar *) "y",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_n",
1191s # (gchar *) "n",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_q",
1191s # (gchar *) "q",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_i",
1191s # (gchar *) "i",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_u",
1191s # (gchar *) "u",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_x",
1191s # (gchar *) "x",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_t",
1191s # (gchar *) "t",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_d",
1191s # (gchar *) "d",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_s",
1191s # (gchar *) "s",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_o",
1191s # (gchar *) "o",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_g",
1191s # (gchar *) "g",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_h",
1191s # (gchar *) "h",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_ay",
1191s # (gchar *) "ay",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_as",
1191s # (gchar *) "as",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_ao",
1191s # (gchar *) "ao",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_aay",
1191s # (gchar *) "aay",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "an_asv",
1191s # (gchar *) "a{sv}",
1191s # NULL
1191s # },
1191s # FALSE
1191s # };
1191s #
1191s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "SignalWithManyArgs",
1191s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1191s # NULL
1191s # },
1191s # "signal-with-many-args"
1191s # };
1191s #
1191s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1191s # {
1191s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1191s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1191s # NULL
1191s # };
1191s #
1191s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1191s # {
1191s # {
1191s # -1,
1191s # (gchar *) "org.project.SignalingIface",
1191s # NULL,
1191s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1191s # NULL,
1191s # NULL
1191s # },
1191s # "org-project-signaling-iface",
1191s # };
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_interface_info:
1191s # *
1191s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1191s # *
1191s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1191s # */
1191s # GDBusInterfaceInfo *
1191s # org_project_signaling_iface_interface_info (void)
1191s # {
1191s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_override_properties:
1191s # * @klass: The class structure for a #GObject derived class.
1191s # * @property_id_begin: The property id to assign to the first overridden property.
1191s # *
1191s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1191s # * The properties are overridden in the order they are defined.
1191s # *
1191s # * Returns: The last property id.
1191s # */
1191s # guint
1191s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1191s # {
1191s # return property_id_begin - 1;
1191s # }
1191s #
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_simple_signal (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # g_cclosure_marshal_VOID__VOID (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s # inline static void
1191s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1191s # GClosure *closure,
1191s # GValue *return_value,
1191s # unsigned int n_param_values,
1191s # const GValue *param_values,
1191s # void *invocation_hint,
1191s # void *marshal_data)
1191s # {
1191s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1191s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1191s # }
1191s #
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface:
1191s # *
1191s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceIface:
1191s # * @parent_iface: The parent interface.
1191s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1191s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1191s # *
1191s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1191s # */
1191s #
1191s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1191s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1191s #
1191s # static void
1191s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # /* GObject signals for received D-Bus signals: */
1191s # /**
1191s # * OrgProjectSignalingIface::simple-signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1191s # g_signal_new ("simple-signal",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_simple_signal,
1191s # G_TYPE_NONE,
1191s # 0);
1191s #
1191s # /**
1191s # * OrgProjectSignalingIface::signal-with-many-args:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_an_b: Argument.
1191s # * @arg_an_y: Argument.
1191s # * @arg_an_n: Argument.
1191s # * @arg_an_q: Argument.
1191s # * @arg_an_i: Argument.
1191s # * @arg_an_u: Argument.
1191s # * @arg_an_x: Argument.
1191s # * @arg_an_t: Argument.
1191s # * @arg_an_d: Argument.
1191s # * @arg_an_s: Argument.
1191s # * @arg_an_o: Argument.
1191s # * @arg_an_g: Argument.
1191s # * @arg_an_h: Argument.
1191s # * @arg_an_ay: Argument.
1191s # * @arg_an_as: Argument.
1191s # * @arg_an_ao: Argument.
1191s # * @arg_an_aay: Argument.
1191s # * @arg_an_asv: Argument.
1191s # *
1191s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1191s # *
1191s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1191s # */
1191s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1191s # g_signal_new ("signal-with-many-args",
1191s # G_TYPE_FROM_INTERFACE (iface),
1191s # G_SIGNAL_RUN_LAST,
1191s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1191s # NULL,
1191s # NULL,
1191s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1191s # G_TYPE_NONE,
1191s # 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);
1191s #
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_simple_signal:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # *
1191s # * Emits the "SimpleSignal" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_emit_signal_with_many_args:
1191s # * @object: A #OrgProjectSignalingIface.
1191s # * @arg_an_b: Argument to pass with the signal.
1191s # * @arg_an_y: Argument to pass with the signal.
1191s # * @arg_an_n: Argument to pass with the signal.
1191s # * @arg_an_q: Argument to pass with the signal.
1191s # * @arg_an_i: Argument to pass with the signal.
1191s # * @arg_an_u: Argument to pass with the signal.
1191s # * @arg_an_x: Argument to pass with the signal.
1191s # * @arg_an_t: Argument to pass with the signal.
1191s # * @arg_an_d: Argument to pass with the signal.
1191s # * @arg_an_s: Argument to pass with the signal.
1191s # * @arg_an_o: Argument to pass with the signal.
1191s # * @arg_an_g: Argument to pass with the signal.
1191s # * @arg_an_h: Argument to pass with the signal.
1191s # * @arg_an_ay: Argument to pass with the signal.
1191s # * @arg_an_as: Argument to pass with the signal.
1191s # * @arg_an_ao: Argument to pass with the signal.
1191s # * @arg_an_aay: Argument to pass with the signal.
1191s # * @arg_an_asv: Argument to pass with the signal.
1191s # *
1191s # * Emits the "SignalWithManyArgs" D-Bus signal.
1191s # */
1191s # void
1191s # org_project_signaling_iface_emit_signal_with_many_args (
1191s # OrgProjectSignalingIface *object,
1191s # gboolean arg_an_b,
1191s # guchar arg_an_y,
1191s # gint16 arg_an_n,
1191s # guint16 arg_an_q,
1191s # gint arg_an_i,
1191s # guint arg_an_u,
1191s # gint64 arg_an_x,
1191s # guint64 arg_an_t,
1191s # gdouble arg_an_d,
1191s # const gchar *arg_an_s,
1191s # const gchar *arg_an_o,
1191s # const gchar *arg_an_g,
1191s # GVariant *arg_an_h,
1191s # const gchar *arg_an_ay,
1191s # const gchar *const *arg_an_as,
1191s # const gchar *const *arg_an_ao,
1191s # const gchar *const *arg_an_aay,
1191s # GVariant *arg_an_asv)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxy:
1191s # *
1191s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceProxyClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceProxy.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceProxyPrivate
1191s # {
1191s # GData *qdata;
1191s # };
1191s #
1191s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_proxy_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1191s # g_datalist_clear (&proxy->priv->qdata);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1191s # guint prop_id G_GNUC_UNUSED,
1191s # const GValue *value G_GNUC_UNUSED,
1191s # GParamSpec *pspec G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1191s # const gchar *sender_name G_GNUC_UNUSED,
1191s # const gchar *signal_name,
1191s # GVariant *parameters)
1191s # {
1191s # _ExtendedGDBusSignalInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # gsize n;
1191s # guint signal_id;
1191s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1191s # if (info == NULL)
1191s # return;
1191s # num_params = g_variant_n_children (parameters);
1191s # paramv = g_new0 (GValue, num_params + 1);
1191s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[0], proxy);
1191s # g_variant_iter_init (&iter, parameters);
1191s # n = 1;
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_signal_emitv (paramv, signal_id, 0, NULL);
1191s # for (n = 0; n < num_params + 1; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1191s # GVariant *changed_properties,
1191s # const gchar *const *invalidated_properties)
1191s # {
1191s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1191s # guint n;
1191s # const gchar *key;
1191s # GVariantIter *iter;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # g_variant_get (changed_properties, "a{sv}", &iter);
1191s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1191s # g_datalist_remove_data (&proxy->priv->qdata, key);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # g_variant_iter_free (iter);
1191s # for (n = 0; invalidated_properties[n] != NULL; n++)
1191s # {
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1191s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1191s # if (info != NULL)
1191s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1191s # }
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1191s # #else
1191s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1191s # #endif
1191s #
1191s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusProxyClass *proxy_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1191s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1191s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1191s #
1191s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1191s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1191s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_sync:
1191s # * @connection: A #GDBusConnection.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_sync (
1191s # GDBusConnection *connection,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1191s # * @user_data: User data to pass to @callback.
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1191s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1191s # */
1191s # void
1191s # org_project_signaling_iface_proxy_new_for_bus (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GAsyncReadyCallback callback,
1191s # gpointer user_data)
1191s # {
1191s # 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);
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1191s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_finish (
1191s # GAsyncResult *res,
1191s # GError **error)
1191s # {
1191s # GObject *ret;
1191s # GObject *source_object;
1191s # source_object = g_async_result_get_source_object (res);
1191s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1191s # g_object_unref (source_object);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1191s # * @bus_type: A #GBusType.
1191s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1191s # * @name: A bus name (well-known or unique).
1191s # * @object_path: An object path.
1191s # * @cancellable: (nullable): A #GCancellable or %NULL.
1191s # * @error: Return location for error or %NULL
1191s # *
1191s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1191s # *
1191s # * The calling thread is blocked until a reply is received.
1191s # *
1191s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_proxy_new_for_bus_sync (
1191s # GBusType bus_type,
1191s # GDBusProxyFlags flags,
1191s # const gchar *name,
1191s # const gchar *object_path,
1191s # GCancellable *cancellable,
1191s # GError **error)
1191s # {
1191s # GInitable *ret;
1191s # 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);
1191s # if (ret != NULL)
1191s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1191s # else
1191s # return NULL;
1191s # }
1191s #
1191s #
1191s # /* ------------------------------------------------------------------------ */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeleton:
1191s # *
1191s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1191s # */
1191s #
1191s # /**
1191s # * OrgProjectSignalingIfaceSkeletonClass:
1191s # * @parent_class: The parent class.
1191s # *
1191s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1191s # */
1191s #
1191s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1191s # {
1191s # GValue *properties;
1191s # GList *changed_properties;
1191s # GSource *changed_properties_idle_source;
1191s # GMainContext *context;
1191s # GMutex lock;
1191s # };
1191s #
1191s # static void
1191s # _org_project_signaling_iface_skeleton_handle_method_call (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name,
1191s # const gchar *method_name,
1191s # GVariant *parameters,
1191s # GDBusMethodInvocation *invocation,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # _ExtendedGDBusMethodInfo *info;
1191s # GVariantIter iter;
1191s # GVariant *child;
1191s # GValue *paramv;
1191s # gsize num_params;
1191s # guint num_extra;
1191s # gsize n;
1191s # guint signal_id;
1191s # GValue return_value = G_VALUE_INIT;
1191s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1191s # g_assert (info != NULL);
1191s # num_params = g_variant_n_children (parameters);
1191s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1191s # n = 0;
1191s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_set_object (¶mv[n++], skeleton);
1191s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1191s # g_value_set_object (¶mv[n++], invocation);
1191s # if (info->pass_fdlist)
1191s # {
1191s # #ifdef G_OS_UNIX
1191s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1191s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1191s # #else
1191s # g_assert_not_reached ();
1191s # #endif
1191s # }
1191s # g_variant_iter_init (&iter, parameters);
1191s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1191s # {
1191s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1191s # if (arg_info->use_gvariant)
1191s # {
1191s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1191s # g_value_set_variant (¶mv[n], child);
1191s # n++;
1191s # }
1191s # else
1191s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1191s # g_variant_unref (child);
1191s # }
1191s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1191s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1191s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1191s # if (!g_value_get_boolean (&return_value))
1191s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1191s # g_value_unset (&return_value);
1191s # for (n = 0; n < num_params + num_extra; n++)
1191s # g_value_unset (¶mv[n]);
1191s # g_free (paramv);
1191s # }
1191s #
1191s # static GVariant *
1191s # _org_project_signaling_iface_skeleton_handle_get_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # GVariant *ret;
1191s # ret = NULL;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # g_value_init (&value, pspec->value_type);
1191s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1191s # g_value_unset (&value);
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static gboolean
1191s # _org_project_signaling_iface_skeleton_handle_set_property (
1191s # GDBusConnection *connection G_GNUC_UNUSED,
1191s # const gchar *sender G_GNUC_UNUSED,
1191s # const gchar *object_path G_GNUC_UNUSED,
1191s # const gchar *interface_name G_GNUC_UNUSED,
1191s # const gchar *property_name,
1191s # GVariant *variant,
1191s # GError **error,
1191s # gpointer user_data)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1191s # GValue value = G_VALUE_INIT;
1191s # GParamSpec *pspec;
1191s # _ExtendedGDBusPropertyInfo *info;
1191s # gboolean ret;
1191s # ret = FALSE;
1191s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1191s # g_assert (info != NULL);
1191s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1191s # if (pspec == NULL)
1191s # {
1191s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1191s # }
1191s # else
1191s # {
1191s # if (info->use_gvariant)
1191s # g_value_set_variant (&value, variant);
1191s # else
1191s # g_dbus_gvariant_to_gvalue (variant, &value);
1191s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1191s # g_value_unset (&value);
1191s # ret = TRUE;
1191s # }
1191s # return ret;
1191s # }
1191s #
1191s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1191s # {
1191s # _org_project_signaling_iface_skeleton_handle_method_call,
1191s # _org_project_signaling_iface_skeleton_handle_get_property,
1191s # _org_project_signaling_iface_skeleton_handle_set_property,
1191s # {NULL}
1191s # };
1191s #
1191s # static GDBusInterfaceInfo *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return org_project_signaling_iface_interface_info ();
1191s # }
1191s #
1191s # static GDBusInterfaceVTable *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1191s # {
1191s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1191s # }
1191s #
1191s # static GVariant *
1191s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1191s #
1191s # GVariantBuilder builder;
1191s # guint n;
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1191s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #else
1191s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1191s # #endif
1191s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1191s # goto out;
1191s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1191s # {
1191s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1191s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1191s # {
1191s # GVariant *value;
1191s # 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);
1191s # if (value != NULL)
1191s # {
1191s # g_variant_take_ref (value);
1191s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1191s # g_variant_unref (value);
1191s # }
1191s # }
1191s # }
1191s # out:
1191s # return g_variant_builder_end (&builder);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1191s # {
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_simple_signal (
1191s # OrgProjectSignalingIface *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void
1191s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1191s # OrgProjectSignalingIface *object,
1191s # gboolean arg_an_b,
1191s # guchar arg_an_y,
1191s # gint16 arg_an_n,
1191s # guint16 arg_an_q,
1191s # gint arg_an_i,
1191s # guint arg_an_u,
1191s # gint64 arg_an_x,
1191s # guint64 arg_an_t,
1191s # gdouble arg_an_d,
1191s # const gchar *arg_an_s,
1191s # const gchar *arg_an_o,
1191s # const gchar *arg_an_g,
1191s # GVariant *arg_an_h,
1191s # const gchar *arg_an_ay,
1191s # const gchar *const *arg_an_as,
1191s # const gchar *const *arg_an_ao,
1191s # const gchar *const *arg_an_aay,
1191s # GVariant *arg_an_asv)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s #
1191s # GList *connections, *l;
1191s # GVariant *signal_variant;
1191s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1191s #
1191s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1191s # arg_an_b,
1191s # arg_an_y,
1191s # arg_an_n,
1191s # arg_an_q,
1191s # arg_an_i,
1191s # arg_an_u,
1191s # arg_an_x,
1191s # arg_an_t,
1191s # arg_an_d,
1191s # arg_an_s,
1191s # arg_an_o,
1191s # arg_an_g,
1191s # arg_an_h,
1191s # arg_an_ay,
1191s # arg_an_as,
1191s # arg_an_ao,
1191s # arg_an_aay,
1191s # arg_an_asv));
1191s # for (l = connections; l != NULL; l = l->next)
1191s # {
1191s # GDBusConnection *connection = l->data;
1191s # g_dbus_connection_emit_signal (connection,
1191s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1191s # signal_variant, NULL);
1191s # }
1191s # g_variant_unref (signal_variant);
1191s # g_list_free_full (connections, g_object_unref);
1191s # }
1191s #
1191s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #else
1191s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1191s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1191s #
1191s # #endif
1191s # static void
1191s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1191s # {
1191s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1191s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1191s # if (skeleton->priv->changed_properties_idle_source != NULL)
1191s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1191s # g_main_context_unref (skeleton->priv->context);
1191s # g_mutex_clear (&skeleton->priv->lock);
1191s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1191s # {
1191s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1191s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1191s # #else
1191s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1191s # #endif
1191s #
1191s # g_mutex_init (&skeleton->priv->lock);
1191s # skeleton->priv->context = g_main_context_ref_thread_default ();
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1191s # {
1191s # GObjectClass *gobject_class;
1191s # GDBusInterfaceSkeletonClass *skeleton_class;
1191s #
1191s # gobject_class = G_OBJECT_CLASS (klass);
1191s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1191s #
1191s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1191s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1191s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1191s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1191s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1191s #
1191s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1191s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1191s # #endif
1191s # }
1191s #
1191s # static void
1191s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1191s # {
1191s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1191s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1191s # }
1191s #
1191s # /**
1191s # * org_project_signaling_iface_skeleton_new:
1191s # *
1191s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1191s # *
1191s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1191s # */
1191s # OrgProjectSignalingIface *
1191s # org_project_signaling_iface_skeleton_new (void)
1191s # {
1191s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1191s # }
1191s # Error:
1191s ok 25 __main__.TestCodegen.test_generate_valid_docbook
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpsm_4jdg9
1191s # /tmp/tmpsm_4jdg9/tmpd99czmrj.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsm_4jdg9/tmpd99czmrj.xml', '--generate-docbook', 'test']
1191s # Return code: 0
1191s # Output:
1191s #
1191s # Error:
1191s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp_zux94a0
1191s # /tmp/tmp_zux94a0/tmpao2dellq.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zux94a0/tmpao2dellq.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
1191s # Return code: 1
1191s # Output:
1191s #
1191s # Error:
1191s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62))
1191s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp_26qwae8
1191s # /tmp/tmp_26qwae8/tmp0m9wmswy.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_26qwae8/tmp0m9wmswy.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifndef __STDOUT__
1191s # #define __STDOUT__
1191s #
1191s # #include
1191s #
1191s # G_BEGIN_DECLS
1191s #
1191s #
1191s # G_END_DECLS
1191s #
1191s # #endif /* __STDOUT__ */
1191s # Error:
1191s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpefwmqpbc
1191s # /tmp/tmpefwmqpbc/tmp72cqfov1.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefwmqpbc/tmp72cqfov1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
1191s # Return code: 1
1191s # Output:
1191s #
1191s # Error:
1191s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6))
1191s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp560yazme
1191s # /tmp/tmp560yazme/tmp_gqzifbf.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp560yazme/tmp_gqzifbf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifndef __STDOUT__
1191s # #define __STDOUT__
1191s #
1191s # #include
1191s #
1191s # G_BEGIN_DECLS
1191s #
1191s #
1191s # G_END_DECLS
1191s #
1191s # #endif /* __STDOUT__ */
1191s # Error:
1191s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpp9qo86la
1191s # /tmp/tmpp9qo86la/tmp0_a6tdtu.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9qo86la/tmp0_a6tdtu.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifndef __STDOUT__
1191s # #define __STDOUT__
1191s #
1191s # #include
1191s #
1191s # G_BEGIN_DECLS
1191s #
1191s #
1191s # G_END_DECLS
1191s #
1191s # #endif /* __STDOUT__ */
1191s # Error:
1191s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpp58wkmok
1191s # /tmp/tmpp58wkmok/tmp6uxryk6o.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp58wkmok/tmp6uxryk6o.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
1191s # Return code: 1
1191s # Output:
1191s #
1191s # Error:
1191s # ERROR: Unrecognized --glib-min-required string ‘hello mum’
1191s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp175i5tb3
1191s # /tmp/tmp175i5tb3/tmp98d7k_pu.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp175i5tb3/tmp98d7k_pu.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifndef __STDOUT__
1191s # #define __STDOUT__
1191s #
1191s # #include
1191s #
1191s # G_BEGIN_DECLS
1191s #
1191s #
1191s # G_END_DECLS
1191s #
1191s # #endif /* __STDOUT__ */
1191s # Error:
1191s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmppth_x0jl
1191s # /tmp/tmppth_x0jl/tmpelnqla7p.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppth_x0jl/tmpelnqla7p.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
1191s # Return code: 1
1191s # Output:
1191s #
1191s # Error:
1191s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30
1191s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpv6mhw71x
1191s # /tmp/tmpv6mhw71x/tmpdi0_hw2_.xml:
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6mhw71x/tmpdi0_hw2_.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
1191s # Return code: 0
1191s # Output:
1191s # /*
1191s # * This file is generated by gdbus-codegen, do not modify it.
1191s # *
1191s # * The license of this code is the same as for the D-Bus interface description
1191s # * it was derived from. Note that it links to GLib, so must comply with the
1191s # * LGPL linking clauses.
1191s # */
1191s #
1191s # #ifndef __STDOUT__
1191s # #define __STDOUT__
1191s #
1191s # #include
1191s #
1191s # G_BEGIN_DECLS
1191s #
1191s #
1191s # G_END_DECLS
1191s #
1191s # #endif /* __STDOUT__ */
1191s # Error:
1191s ok 35 __main__.TestCodegen.test_help
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmp0ihmzlm7
1191s # Running: ['/usr/bin/gdbus-codegen', '--help']
1191s # Return code: 0
1191s # Output:
1191s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1191s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
1191s # [--c-generate-autocleanup {none,objects,all}]
1191s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1191s # [--generate-rst OUTFILES] [--pragma-once]
1191s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1191s # [--glib-min-required VERSION]
1191s # [--glib-max-allowed VERSION]
1191s # [--symbol-decorator SYMBOL_DECORATOR]
1191s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1191s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1191s # [--generate-c-code OUTFILES | --header | --body |
1191s # --interface-info-header | --interface-info-body]
1191s # [--output FILE | --output-directory OUTDIR]
1191s # FILE [FILE ...]
1191s #
1191s # D-Bus code and documentation generator
1191s #
1191s # positional arguments:
1191s # FILE D-Bus introspection XML file
1191s #
1191s # options:
1191s # -h, --help show this help message and exit
1191s # --interface-prefix PREFIX
1191s # String to strip from D-Bus interface names for code
1191s # and docs
1191s # --c-namespace NAMESPACE
1191s # The namespace to use for generated C code
1191s # --c-generate-object-manager
1191s # Generate a GDBusObjectManagerClient subclass when
1191s # generating C code
1191s # --c-generate-autocleanup {none,objects,all}
1191s # Generate autocleanup support
1191s # --generate-docbook OUTFILES
1191s # Generate Docbook in OUTFILES-org.Project.IFace.xml
1191s # --generate-md OUTFILES
1191s # Generate Markdown in OUTFILES-org.Project.IFace.md
1191s # --generate-rst OUTFILES
1191s # Generate reStructuredText in OUTFILES-
1191s # org.Project.IFace.rst
1191s # --pragma-once Use "pragma once" as the inclusion guard
1191s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
1191s # Add annotation (may be used several times)
1191s # --glib-min-required VERSION
1191s # Minimum version of GLib to be supported by the
1191s # outputted code (default: 2.30)
1191s # --glib-max-allowed VERSION
1191s # Maximum version of GLib to be used by the outputted
1191s # code (default: current GLib version)
1191s # --symbol-decorator SYMBOL_DECORATOR
1191s # Macro used to decorate a symbol in the outputted
1191s # header, possibly to export symbols
1191s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
1191s # Additional header required for decorator specified by
1191s # --symbol-decorator
1191s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
1191s # Additional define required for decorator specified by
1191s # --symbol-decorator
1191s # --generate-c-code OUTFILES
1191s # Generate C code in OUTFILES.[ch]
1191s # --header Generate C headers
1191s # --body Generate C code
1191s # --interface-info-header
1191s # Generate GDBusInterfaceInfo C header
1191s # --interface-info-body
1191s # Generate GDBusInterfaceInfo C code
1191s # --output FILE Write output into the specified file
1191s # --output-directory OUTDIR
1191s # Location to output generated files
1191s # Error:
1191s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpm6chvr6b
1191s # /tmp/tmpm6chvr6b/tmpsplu3jg_.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6chvr6b/tmpsplu3jg_.xml', '--generate-rst', 'test']
1191s # Return code: 0
1191s # Output:
1191s #
1191s # Error:
1191s #
1191s # /tmp/tmpm6chvr6b/tmpw9jvm8fs.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6chvr6b/tmpw9jvm8fs.xml', '--generate-md', 'test']
1191s # Return code: 0
1191s # Output:
1191s #
1191s # Error:
1191s #
1191s # /tmp/tmpm6chvr6b/tmpe88nqfsf.xml:
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s #
1191s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6chvr6b/tmpe88nqfsf.xml', '--generate-docbook', 'test']
1191s # Return code: 0
1191s # Output:
1191s #
1191s # Error:
1191s ok 37 __main__.TestCodegen.test_no_args
1191s # gdbus-codegen: /usr/bin/gdbus-codegen
1191s # tmpdir: /tmp/tmpp4ur03g6
1191s # Running: ['/usr/bin/gdbus-codegen']
1191s # Return code: 2
1191s # Output:
1191s #
1191s # Error:
1191s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1191s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
1191s # [--c-generate-autocleanup {none,objects,all}]
1191s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1191s # [--generate-rst OUTFILES] [--pragma-once]
1191s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1191s # [--glib-min-required VERSION]
1191s # [--glib-max-allowed VERSION]
1191s # [--symbol-decorator SYMBOL_DECORATOR]
1191s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1191s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1191s # [--generate-c-code OUTFILES | --header | --body |
1191s # --interface-info-header | --interface-info-body]
1191s # [--output FILE | --output-directory OUTDIR]
1191s # FILE [FILE ...]
1191s # gdbus-codegen: error: the following arguments are required: FILE
1192s ok 38 __main__.TestCodegen.test_reproducible
1192s # gdbus-codegen: /usr/bin/gdbus-codegen
1192s # tmpdir: /tmp/tmp4rvvziqw
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4rvvziqw/tmptkmj0bmj1.xml', '/tmp/tmp4rvvziqw/tmpnm2xyvr42.xml', '--output', '-', '--header']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifndef __STDOUT__
1192s # #define __STDOUT__
1192s #
1192s # #include
1192s #
1192s # G_BEGIN_DECLS
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for org.project.Bar.Frobnicator */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1192s #
1192s # struct _OrgProjectBarFrobnicator;
1192s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1192s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1192s #
1192s # struct _OrgProjectBarFrobnicatorIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s # gboolean (*handle_random_method) (
1192s # OrgProjectBarFrobnicator *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1192s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void org_project_bar_frobnicator_complete_random_method (
1192s # OrgProjectBarFrobnicator *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void org_project_bar_frobnicator_call_random_method (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1192s #
1192s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1192s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1192s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void org_project_bar_frobnicator_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void org_project_bar_frobnicator_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1192s #
1192s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1192s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1192s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for com.acme.Coyote */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1192s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1192s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1192s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1192s #
1192s # struct _ComAcmeCoyote;
1192s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1192s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1192s #
1192s # struct _ComAcmeCoyoteIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s #
1192s #
1192s # gboolean (*handle_attack) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # gboolean (*handle_run) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # gboolean (*handle_sleep) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1192s #
1192s # void (*surprised) (
1192s # ComAcmeCoyote *object);
1192s #
1192s # };
1192s #
1192s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1192s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void com_acme_coyote_complete_run (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # void com_acme_coyote_complete_sleep (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # void com_acme_coyote_complete_attack (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus signal emissions functions: */
1192s # void com_acme_coyote_emit_surprised (
1192s # ComAcmeCoyote *object);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void com_acme_coyote_call_run (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_run_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_run_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_call_sleep (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_sleep_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_sleep_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_call_attack (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_attack_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_attack_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* D-Bus property accessors: */
1192s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1192s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1192s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1192s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1192s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1192s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1192s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1192s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1192s #
1192s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1192s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1192s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1192s #
1192s # struct _ComAcmeCoyoteProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # ComAcmeCoyoteProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _ComAcmeCoyoteProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void com_acme_coyote_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1192s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1192s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1192s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1192s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1192s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1192s #
1192s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1192s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1192s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1192s #
1192s # struct _ComAcmeCoyoteSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # ComAcmeCoyoteSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _ComAcmeCoyoteSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1192s #
1192s #
1192s # G_END_DECLS
1192s #
1192s # #endif /* __STDOUT__ */
1192s # Error:
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4rvvziqw/tmpnm2xyvr42.xml', '/tmp/tmp4rvvziqw/tmptkmj0bmj1.xml', '--output', '-', '--header']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifndef __STDOUT__
1192s # #define __STDOUT__
1192s #
1192s # #include
1192s #
1192s # G_BEGIN_DECLS
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for org.project.Bar.Frobnicator */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1192s #
1192s # struct _OrgProjectBarFrobnicator;
1192s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1192s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1192s #
1192s # struct _OrgProjectBarFrobnicatorIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s # gboolean (*handle_random_method) (
1192s # OrgProjectBarFrobnicator *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1192s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void org_project_bar_frobnicator_complete_random_method (
1192s # OrgProjectBarFrobnicator *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void org_project_bar_frobnicator_call_random_method (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1192s #
1192s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1192s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1192s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void org_project_bar_frobnicator_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void org_project_bar_frobnicator_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1192s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1192s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1192s #
1192s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1192s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1192s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for com.acme.Coyote */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1192s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1192s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1192s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1192s #
1192s # struct _ComAcmeCoyote;
1192s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1192s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1192s #
1192s # struct _ComAcmeCoyoteIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s #
1192s #
1192s # gboolean (*handle_attack) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # gboolean (*handle_run) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # gboolean (*handle_sleep) (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1192s #
1192s # void (*surprised) (
1192s # ComAcmeCoyote *object);
1192s #
1192s # };
1192s #
1192s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1192s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void com_acme_coyote_complete_run (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # void com_acme_coyote_complete_sleep (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s # void com_acme_coyote_complete_attack (
1192s # ComAcmeCoyote *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus signal emissions functions: */
1192s # void com_acme_coyote_emit_surprised (
1192s # ComAcmeCoyote *object);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void com_acme_coyote_call_run (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_run_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_run_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_call_sleep (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_sleep_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_sleep_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_call_attack (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean com_acme_coyote_call_attack_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean com_acme_coyote_call_attack_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* D-Bus property accessors: */
1192s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1192s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1192s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1192s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1192s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1192s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1192s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1192s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1192s #
1192s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1192s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1192s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1192s #
1192s # struct _ComAcmeCoyoteProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # ComAcmeCoyoteProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _ComAcmeCoyoteProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void com_acme_coyote_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void com_acme_coyote_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1192s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1192s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1192s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1192s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1192s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1192s #
1192s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1192s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1192s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1192s #
1192s # struct _ComAcmeCoyoteSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # ComAcmeCoyoteSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _ComAcmeCoyoteSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1192s #
1192s #
1192s # G_END_DECLS
1192s #
1192s # #endif /* __STDOUT__ */
1192s # Error:
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4rvvziqw/tmptkmj0bmj1.xml', '/tmp/tmp4rvvziqw/tmpnm2xyvr42.xml', '--output', '-', '--body']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifdef HAVE_CONFIG_H
1192s # # include "config.h"
1192s # #endif
1192s #
1192s # #include
1192s # #ifdef G_OS_UNIX
1192s # # include
1192s # #endif
1192s #
1192s # #ifdef G_ENABLE_DEBUG
1192s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1192s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1192s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1192s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1192s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1192s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1192s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1192s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1192s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1192s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1192s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1192s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1192s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1192s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1192s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1192s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1192s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1192s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1192s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1192s # #else /* !G_ENABLE_DEBUG */
1192s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1192s # * Do not access GValues directly in your code. Instead, use the
1192s # * g_value_get_*() functions
1192s # */
1192s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1192s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1192s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1192s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1192s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1192s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1192s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1192s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1192s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1192s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1192s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1192s # #endif /* !G_ENABLE_DEBUG */
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusArgInfo parent_struct;
1192s # gboolean use_gvariant;
1192s # } _ExtendedGDBusArgInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusMethodInfo parent_struct;
1192s # const gchar *signal_name;
1192s # gboolean pass_fdlist;
1192s # } _ExtendedGDBusMethodInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusSignalInfo parent_struct;
1192s # const gchar *signal_name;
1192s # } _ExtendedGDBusSignalInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusPropertyInfo parent_struct;
1192s # const gchar *hyphen_name;
1192s # guint use_gvariant : 1;
1192s # guint emits_changed_signal : 1;
1192s # } _ExtendedGDBusPropertyInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusInterfaceInfo parent_struct;
1192s # const gchar *hyphen_name;
1192s # } _ExtendedGDBusInterfaceInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # guint prop_id;
1192s # GValue orig_value; /* the value before the change */
1192s # } ChangedProperty;
1192s #
1192s # static void
1192s # _changed_property_free (ChangedProperty *data)
1192s # {
1192s # g_value_unset (&data->orig_value);
1192s # g_free (data);
1192s # }
1192s #
1192s # static gboolean
1192s # _g_strv_equal0 (gchar **a, gchar **b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # guint n;
1192s # if (a == NULL && b == NULL)
1192s # {
1192s # ret = TRUE;
1192s # goto out;
1192s # }
1192s # if (a == NULL || b == NULL)
1192s # goto out;
1192s # if (g_strv_length (a) != g_strv_length (b))
1192s # goto out;
1192s # for (n = 0; a[n] != NULL; n++)
1192s # if (g_strcmp0 (a[n], b[n]) != 0)
1192s # goto out;
1192s # ret = TRUE;
1192s # out:
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _g_variant_equal0 (GVariant *a, GVariant *b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # if (a == NULL && b == NULL)
1192s # {
1192s # ret = TRUE;
1192s # goto out;
1192s # }
1192s # if (a == NULL || b == NULL)
1192s # goto out;
1192s # ret = g_variant_equal (a, b);
1192s # out:
1192s # return ret;
1192s # }
1192s #
1192s # G_GNUC_UNUSED static gboolean
1192s # _g_value_equal (const GValue *a, const GValue *b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1192s # switch (G_VALUE_TYPE (a))
1192s # {
1192s # case G_TYPE_BOOLEAN:
1192s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1192s # break;
1192s # case G_TYPE_UCHAR:
1192s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1192s # break;
1192s # case G_TYPE_INT:
1192s # ret = (g_value_get_int (a) == g_value_get_int (b));
1192s # break;
1192s # case G_TYPE_UINT:
1192s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1192s # break;
1192s # case G_TYPE_INT64:
1192s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1192s # break;
1192s # case G_TYPE_UINT64:
1192s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1192s # break;
1192s # case G_TYPE_DOUBLE:
1192s # {
1192s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1192s # gdouble da = g_value_get_double (a);
1192s # gdouble db = g_value_get_double (b);
1192s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1192s # }
1192s # break;
1192s # case G_TYPE_STRING:
1192s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1192s # break;
1192s # case G_TYPE_VARIANT:
1192s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1192s # break;
1192s # default:
1192s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1192s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1192s # else
1192s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1192s # break;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static void
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint G_GNUC_UNUSED,
1192s # void *marshal_data)
1192s # {
1192s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1192s # (void *data1,
1192s # GDBusMethodInvocation *arg_method_invocation,
1192s # void *data2);
1192s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1192s # GCClosure *cc = (GCClosure*) closure;
1192s # void *data1, *data2;
1192s # gboolean v_return;
1192s #
1192s # g_return_if_fail (return_value != NULL);
1192s # g_return_if_fail (n_param_values == 2);
1192s #
1192s # if (G_CCLOSURE_SWAP_DATA (closure))
1192s # {
1192s # data1 = closure->data;
1192s # data2 = g_value_peek_pointer (param_values + 0);
1192s # }
1192s # else
1192s # {
1192s # data1 = g_value_peek_pointer (param_values + 0);
1192s # data2 = closure->data;
1192s # }
1192s #
1192s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1192s # (marshal_data ? marshal_data : cc->callback);
1192s #
1192s # v_return =
1192s # callback (data1,
1192s # g_marshal_value_peek_object (param_values + 1),
1192s # data2);
1192s #
1192s # g_value_set_boolean (return_value, v_return);
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------
1192s # * Code for interface org.project.Bar.Frobnicator
1192s # * ------------------------------------------------------------------------
1192s # */
1192s #
1192s # /**
1192s # * SECTION:OrgProjectBarFrobnicator
1192s # * @title: OrgProjectBarFrobnicator
1192s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1192s # *
1192s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1192s # */
1192s #
1192s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1192s #
1192s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "RandomMethod",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-random-method",
1192s # FALSE
1192s # };
1192s #
1192s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1192s # {
1192s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "org.project.Bar.Frobnicator",
1192s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "org-project-bar-frobnicator",
1192s # };
1192s #
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_interface_info:
1192s # *
1192s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1192s # *
1192s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1192s # */
1192s # GDBusInterfaceInfo *
1192s # org_project_bar_frobnicator_interface_info (void)
1192s # {
1192s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_override_properties:
1192s # * @klass: The class structure for a #GObject derived class.
1192s # * @property_id_begin: The property id to assign to the first overridden property.
1192s # *
1192s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1192s # * The properties are overridden in the order they are defined.
1192s # *
1192s # * Returns: The last property id.
1192s # */
1192s # guint
1192s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1192s # {
1192s # return property_id_begin - 1;
1192s # }
1192s #
1192s #
1192s # inline static void
1192s # org_project_bar_frobnicator_method_marshal_random_method (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicator:
1192s # *
1192s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorIface:
1192s # * @parent_iface: The parent interface.
1192s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1192s # *
1192s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1192s # */
1192s #
1192s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1192s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1192s # {
1192s # /* GObject signals for incoming D-Bus method calls: */
1192s # /**
1192s # * OrgProjectBarFrobnicator::handle-random-method:
1192s # * @object: A #OrgProjectBarFrobnicator.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-random-method",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # org_project_bar_frobnicator_method_marshal_random_method,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_call_random_method (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "RandomMethod",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method_finish:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # org_project_bar_frobnicator_call_random_method_finish (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method_sync:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # org_project_bar_frobnicator_call_random_method_sync (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "RandomMethod",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_complete_random_method:
1192s # * @object: A #OrgProjectBarFrobnicator.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_complete_random_method (
1192s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorProxy:
1192s # *
1192s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorProxyClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1192s # */
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxyPrivate
1192s # {
1192s # GData *qdata;
1192s # };
1192s #
1192s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1192s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1192s # {
1192s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1192s # g_datalist_clear (&proxy->priv->qdata);
1192s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1192s # guint prop_id G_GNUC_UNUSED,
1192s # GValue *value G_GNUC_UNUSED,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1192s # guint prop_id G_GNUC_UNUSED,
1192s # const GValue *value G_GNUC_UNUSED,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1192s # const gchar *sender_name G_GNUC_UNUSED,
1192s # const gchar *signal_name,
1192s # GVariant *parameters)
1192s # {
1192s # _ExtendedGDBusSignalInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # gsize n;
1192s # guint signal_id;
1192s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1192s # if (info == NULL)
1192s # return;
1192s # num_params = g_variant_n_children (parameters);
1192s # paramv = g_new0 (GValue, num_params + 1);
1192s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_set_object (¶mv[0], proxy);
1192s # g_variant_iter_init (&iter, parameters);
1192s # n = 1;
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_signal_emitv (paramv, signal_id, 0, NULL);
1192s # for (n = 0; n < num_params + 1; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1192s # GVariant *changed_properties,
1192s # const gchar *const *invalidated_properties)
1192s # {
1192s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1192s # guint n;
1192s # const gchar *key;
1192s # GVariantIter *iter;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # g_variant_get (changed_properties, "a{sv}", &iter);
1192s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1192s # g_datalist_remove_data (&proxy->priv->qdata, key);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # g_variant_iter_free (iter);
1192s # for (n = 0; invalidated_properties[n] != NULL; n++)
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1192s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1192s # #else
1192s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1192s # #endif
1192s #
1192s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusProxyClass *proxy_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1192s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1192s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1192s #
1192s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1192s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1192s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_sync:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorSkeleton:
1192s # *
1192s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorSkeletonClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1192s # */
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1192s # {
1192s # GValue *properties;
1192s # GList *changed_properties;
1192s # GSource *changed_properties_idle_source;
1192s # GMainContext *context;
1192s # GMutex lock;
1192s # };
1192s #
1192s # static void
1192s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name,
1192s # const gchar *method_name,
1192s # GVariant *parameters,
1192s # GDBusMethodInvocation *invocation,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # _ExtendedGDBusMethodInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # guint num_extra;
1192s # gsize n;
1192s # guint signal_id;
1192s # GValue return_value = G_VALUE_INIT;
1192s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1192s # g_assert (info != NULL);
1192s # num_params = g_variant_n_children (parameters);
1192s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1192s # n = 0;
1192s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_set_object (¶mv[n++], skeleton);
1192s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1192s # g_value_set_object (¶mv[n++], invocation);
1192s # if (info->pass_fdlist)
1192s # {
1192s # #ifdef G_OS_UNIX
1192s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1192s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1192s # #else
1192s # g_assert_not_reached ();
1192s # #endif
1192s # }
1192s # g_variant_iter_init (&iter, parameters);
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1192s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1192s # if (!g_value_get_boolean (&return_value))
1192s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1192s # g_value_unset (&return_value);
1192s # for (n = 0; n < num_params + num_extra; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static GVariant *
1192s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *ret;
1192s # ret = NULL;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # g_value_init (&value, pspec->value_type);
1192s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_value_unset (&value);
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GVariant *variant,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # gboolean ret;
1192s # ret = FALSE;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # if (info->use_gvariant)
1192s # g_value_set_variant (&value, variant);
1192s # else
1192s # g_dbus_gvariant_to_gvalue (variant, &value);
1192s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # g_value_unset (&value);
1192s # ret = TRUE;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1192s # {
1192s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1192s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1192s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1192s # {NULL}
1192s # };
1192s #
1192s # static GDBusInterfaceInfo *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return org_project_bar_frobnicator_interface_info ();
1192s # }
1192s #
1192s # static GDBusInterfaceVTable *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1192s # }
1192s #
1192s # static GVariant *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1192s #
1192s # GVariantBuilder builder;
1192s # guint n;
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #else
1192s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #endif
1192s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1192s # goto out;
1192s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1192s # {
1192s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1192s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1192s # {
1192s # GVariant *value;
1192s # 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);
1192s # if (value != NULL)
1192s # {
1192s # g_variant_take_ref (value);
1192s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1192s # g_variant_unref (value);
1192s # }
1192s # }
1192s # }
1192s # out:
1192s # return g_variant_builder_end (&builder);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # g_main_context_unref (skeleton->priv->context);
1192s # g_mutex_clear (&skeleton->priv->lock);
1192s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1192s # #else
1192s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1192s # #endif
1192s #
1192s # g_mutex_init (&skeleton->priv->lock);
1192s # skeleton->priv->context = g_main_context_ref_thread_default ();
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusInterfaceSkeletonClass *skeleton_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1192s #
1192s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1192s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1192s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1192s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1192s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_skeleton_new:
1192s # *
1192s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_skeleton_new (void)
1192s # {
1192s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------
1192s # * Code for interface com.acme.Coyote
1192s # * ------------------------------------------------------------------------
1192s # */
1192s #
1192s # /**
1192s # * SECTION:ComAcmeCoyote
1192s # * @title: ComAcmeCoyote
1192s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1192s # *
1192s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1192s # */
1192s #
1192s # enum
1192s # {
1192s # _COM_ACME_COYOTE_SURPRISED,
1192s # };
1192s #
1192s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1192s #
1192s # /* ---- Introspection data for com.acme.Coyote ---- */
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Run",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-run",
1192s # FALSE
1192s # };
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Sleep",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-sleep",
1192s # FALSE
1192s # };
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Attack",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-attack",
1192s # FALSE
1192s # };
1192s #
1192s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_method_info_run.parent_struct,
1192s # &_com_acme_coyote_method_info_sleep.parent_struct,
1192s # &_com_acme_coyote_method_info_attack.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Surprised",
1192s # NULL,
1192s # NULL
1192s # },
1192s # "surprised"
1192s # };
1192s #
1192s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Mood",
1192s # (gchar *) "s",
1192s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1192s # NULL
1192s # },
1192s # "mood",
1192s # FALSE,
1192s # TRUE
1192s # };
1192s #
1192s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_property_info_mood.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "com.acme.Coyote",
1192s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1192s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1192s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1192s # NULL
1192s # },
1192s # "com-acme-coyote",
1192s # };
1192s #
1192s #
1192s # /**
1192s # * com_acme_coyote_interface_info:
1192s # *
1192s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1192s # *
1192s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1192s # */
1192s # GDBusInterfaceInfo *
1192s # com_acme_coyote_interface_info (void)
1192s # {
1192s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_override_properties:
1192s # * @klass: The class structure for a #GObject derived class.
1192s # * @property_id_begin: The property id to assign to the first overridden property.
1192s # *
1192s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1192s # * The properties are overridden in the order they are defined.
1192s # *
1192s # * Returns: The last property id.
1192s # */
1192s # guint
1192s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1192s # {
1192s # g_object_class_override_property (klass, property_id_begin++, "mood");
1192s # return property_id_begin - 1;
1192s # }
1192s #
1192s #
1192s # inline static void
1192s # com_acme_coyote_signal_marshal_surprised (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # g_cclosure_marshal_VOID__VOID (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_run (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_sleep (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_attack (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s #
1192s # /**
1192s # * ComAcmeCoyote:
1192s # *
1192s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteIface:
1192s # * @parent_iface: The parent interface.
1192s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1192s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1192s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1192s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1192s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1192s # *
1192s # * Virtual table for the D-Bus interface com.acme.Coyote.
1192s # */
1192s #
1192s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1192s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1192s #
1192s # static void
1192s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # /* GObject signals for incoming D-Bus method calls: */
1192s # /**
1192s # * ComAcmeCoyote::handle-run:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-run",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_run,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /**
1192s # * ComAcmeCoyote::handle-sleep:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-sleep",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_sleep,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /**
1192s # * ComAcmeCoyote::handle-attack:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-attack",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_attack,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /* GObject signals for received D-Bus signals: */
1192s # /**
1192s # * ComAcmeCoyote::surprised:
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1192s # *
1192s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1192s # */
1192s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1192s # g_signal_new ("surprised",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1192s # NULL,
1192s # NULL,
1192s # com_acme_coyote_signal_marshal_surprised,
1192s # G_TYPE_NONE,
1192s # 0);
1192s #
1192s # /* GObject properties for D-Bus properties: */
1192s # /**
1192s # * ComAcmeCoyote:mood:
1192s # *
1192s # * Represents the D-Bus property "Mood".
1192s # *
1192s # * 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.
1192s # */
1192s # g_object_interface_install_property (iface,
1192s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_get_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Gets the value of the "Mood" D-Bus property.
1192s # *
1192s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1192s # *
1192s # * 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.
1192s # *
1192s # * 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.
1192s # */
1192s # const gchar *
1192s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1192s #
1192s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_dup_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Gets a copy of the "Mood" D-Bus property.
1192s # *
1192s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1192s # *
1192s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1192s # */
1192s # gchar *
1192s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1192s # {
1192s # gchar *value;
1192s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1192s # return value;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_set_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # * @value: The value to set.
1192s # *
1192s # * Sets the "Mood" D-Bus property to @value.
1192s # *
1192s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1192s # */
1192s # void
1192s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1192s # {
1192s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_emit_surprised:
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Emits the "Surprised" D-Bus signal.
1192s # */
1192s # void
1192s # com_acme_coyote_emit_surprised (
1192s # ComAcmeCoyote *object)
1192s # {
1192s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_run (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Run",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_run().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_run_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_run_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Run",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_sleep (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Sleep",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_sleep().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_sleep_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_sleep_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Sleep",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_attack (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Attack",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_attack().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_attack_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_attack_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Attack",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_run:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_run (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_sleep:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_sleep (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_attack:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_attack (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteProxy:
1192s # *
1192s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteProxyClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #ComAcmeCoyoteProxy.
1192s # */
1192s #
1192s # struct _ComAcmeCoyoteProxyPrivate
1192s # {
1192s # GData *qdata;
1192s # };
1192s #
1192s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1192s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # com_acme_coyote_proxy_finalize (GObject *object)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1192s # g_datalist_clear (&proxy->priv->qdata);
1192s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_get_property (GObject *object,
1192s # guint prop_id,
1192s # GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *variant;
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1192s # if (info->use_gvariant)
1192s # {
1192s # g_value_set_variant (value, variant);
1192s # }
1192s # else
1192s # {
1192s # if (variant != NULL)
1192s # g_dbus_gvariant_to_gvalue (variant, value);
1192s # }
1192s # if (variant != NULL)
1192s # g_variant_unref (variant);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1192s # GAsyncResult *res,
1192s # gpointer user_data)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info = user_data;
1192s # GError *error;
1192s # GVariant *_ret;
1192s # error = NULL;
1192s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1192s # if (!_ret)
1192s # {
1192s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1192s # info->parent_struct.name,
1192s # error->message, g_quark_to_string (error->domain), error->code);
1192s # g_error_free (error);
1192s # }
1192s # else
1192s # {
1192s # g_variant_unref (_ret);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_set_property (GObject *object,
1192s # guint prop_id,
1192s # const GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *variant;
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1192s # "org.freedesktop.DBus.Properties.Set",
1192s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1192s # g_variant_unref (variant);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1192s # const gchar *sender_name G_GNUC_UNUSED,
1192s # const gchar *signal_name,
1192s # GVariant *parameters)
1192s # {
1192s # _ExtendedGDBusSignalInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # gsize n;
1192s # guint signal_id;
1192s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1192s # if (info == NULL)
1192s # return;
1192s # num_params = g_variant_n_children (parameters);
1192s # paramv = g_new0 (GValue, num_params + 1);
1192s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1192s # g_value_set_object (¶mv[0], proxy);
1192s # g_variant_iter_init (&iter, parameters);
1192s # n = 1;
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1192s # g_signal_emitv (paramv, signal_id, 0, NULL);
1192s # for (n = 0; n < num_params + 1; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1192s # GVariant *changed_properties,
1192s # const gchar *const *invalidated_properties)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1192s # guint n;
1192s # const gchar *key;
1192s # GVariantIter *iter;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # g_variant_get (changed_properties, "a{sv}", &iter);
1192s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1192s # g_datalist_remove_data (&proxy->priv->qdata, key);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # g_variant_iter_free (iter);
1192s # for (n = 0; invalidated_properties[n] != NULL; n++)
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1192s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # }
1192s #
1192s # static const gchar *
1192s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1192s # GVariant *variant;
1192s # const gchar *value = NULL;
1192s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1192s # if (variant != NULL)
1192s # {
1192s # value = g_variant_get_string (variant, NULL);
1192s # g_variant_unref (variant);
1192s # }
1192s # return value;
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1192s # #else
1192s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1192s # #endif
1192s #
1192s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusProxyClass *proxy_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1192s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1192s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1192s #
1192s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1192s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1192s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1192s #
1192s # com_acme_coyote_override_properties (gobject_class, 1);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # com_acme_coyote_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_proxy_new().
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_sync:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # com_acme_coyote_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus_sync:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteSkeleton:
1192s # *
1192s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteSkeletonClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #ComAcmeCoyoteSkeleton.
1192s # */
1192s #
1192s # struct _ComAcmeCoyoteSkeletonPrivate
1192s # {
1192s # GValue *properties;
1192s # GList *changed_properties;
1192s # GSource *changed_properties_idle_source;
1192s # GMainContext *context;
1192s # GMutex lock;
1192s # };
1192s #
1192s # static void
1192s # _com_acme_coyote_skeleton_handle_method_call (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name,
1192s # const gchar *method_name,
1192s # GVariant *parameters,
1192s # GDBusMethodInvocation *invocation,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # _ExtendedGDBusMethodInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # guint num_extra;
1192s # gsize n;
1192s # guint signal_id;
1192s # GValue return_value = G_VALUE_INIT;
1192s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1192s # g_assert (info != NULL);
1192s # num_params = g_variant_n_children (parameters);
1192s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1192s # n = 0;
1192s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1192s # g_value_set_object (¶mv[n++], skeleton);
1192s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1192s # g_value_set_object (¶mv[n++], invocation);
1192s # if (info->pass_fdlist)
1192s # {
1192s # #ifdef G_OS_UNIX
1192s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1192s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1192s # #else
1192s # g_assert_not_reached ();
1192s # #endif
1192s # }
1192s # g_variant_iter_init (&iter, parameters);
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1192s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1192s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1192s # if (!g_value_get_boolean (&return_value))
1192s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1192s # g_value_unset (&return_value);
1192s # for (n = 0; n < num_params + num_extra; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static GVariant *
1192s # _com_acme_coyote_skeleton_handle_get_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *ret;
1192s # ret = NULL;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # g_value_init (&value, pspec->value_type);
1192s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_value_unset (&value);
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _com_acme_coyote_skeleton_handle_set_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GVariant *variant,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # gboolean ret;
1192s # ret = FALSE;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # if (info->use_gvariant)
1192s # g_value_set_variant (&value, variant);
1192s # else
1192s # g_dbus_gvariant_to_gvalue (variant, &value);
1192s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # g_value_unset (&value);
1192s # ret = TRUE;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1192s # {
1192s # _com_acme_coyote_skeleton_handle_method_call,
1192s # _com_acme_coyote_skeleton_handle_get_property,
1192s # _com_acme_coyote_skeleton_handle_set_property,
1192s # {NULL}
1192s # };
1192s #
1192s # static GDBusInterfaceInfo *
1192s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return com_acme_coyote_interface_info ();
1192s # }
1192s #
1192s # static GDBusInterfaceVTable *
1192s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1192s # }
1192s #
1192s # static GVariant *
1192s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1192s #
1192s # GVariantBuilder builder;
1192s # guint n;
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #else
1192s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #endif
1192s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1192s # goto out;
1192s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1192s # {
1192s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1192s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1192s # {
1192s # GVariant *value;
1192s # 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);
1192s # if (value != NULL)
1192s # {
1192s # g_variant_take_ref (value);
1192s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1192s # g_variant_unref (value);
1192s # }
1192s # }
1192s # }
1192s # out:
1192s # return g_variant_builder_end (&builder);
1192s # }
1192s #
1192s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1192s # gboolean emit_changed = FALSE;
1192s #
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # {
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # skeleton->priv->changed_properties_idle_source = NULL;
1192s # emit_changed = TRUE;
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s #
1192s # if (emit_changed)
1192s # _com_acme_coyote_emit_changed (skeleton);
1192s # }
1192s #
1192s # static void
1192s # _com_acme_coyote_on_signal_surprised (
1192s # ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s #
1192s # GList *connections, *l;
1192s # GVariant *signal_variant;
1192s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1192s #
1192s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1192s # for (l = connections; l != NULL; l = l->next)
1192s # {
1192s # GDBusConnection *connection = l->data;
1192s # g_dbus_connection_emit_signal (connection,
1192s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1192s # signal_variant, NULL);
1192s # }
1192s # g_variant_unref (signal_variant);
1192s # g_list_free_full (connections, g_object_unref);
1192s # }
1192s #
1192s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # com_acme_coyote_skeleton_finalize (GObject *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # guint n;
1192s # for (n = 0; n < 1; n++)
1192s # g_value_unset (&skeleton->priv->properties[n]);
1192s # g_free (skeleton->priv->properties);
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # g_main_context_unref (skeleton->priv->context);
1192s # g_mutex_clear (&skeleton->priv->lock);
1192s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_get_property (GObject *object,
1192s # guint prop_id,
1192s # GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # }
1192s #
1192s # static gboolean
1192s # _com_acme_coyote_emit_changed (gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GList *l;
1192s # GVariantBuilder builder;
1192s # GVariantBuilder invalidated_builder;
1192s # guint num_changes;
1192s #
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1192s # #else
1192s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1192s # #endif
1192s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1192s # {
1192s # ChangedProperty *cp = l->data;
1192s # GVariant *variant;
1192s # const GValue *cur_value;
1192s #
1192s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1192s # if (!_g_value_equal (cur_value, &cp->orig_value))
1192s # {
1192s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1192s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1192s # g_variant_unref (variant);
1192s # num_changes++;
1192s # }
1192s # }
1192s # if (num_changes > 0)
1192s # {
1192s # GList *connections, *ll;
1192s # GVariant *signal_variant;
1192s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1192s # &builder, &invalidated_builder));
1192s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1192s # for (ll = connections; ll != NULL; ll = ll->next)
1192s # {
1192s # GDBusConnection *connection = ll->data;
1192s #
1192s # g_dbus_connection_emit_signal (connection,
1192s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1192s # "org.freedesktop.DBus.Properties",
1192s # "PropertiesChanged",
1192s # signal_variant,
1192s # NULL);
1192s # }
1192s # g_variant_unref (signal_variant);
1192s # g_list_free_full (connections, g_object_unref);
1192s # }
1192s # else
1192s # {
1192s # g_variant_builder_clear (&builder);
1192s # g_variant_builder_clear (&invalidated_builder);
1192s # }
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # skeleton->priv->changed_properties = NULL;
1192s # skeleton->priv->changed_properties_idle_source = NULL;
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # return FALSE;
1192s # }
1192s #
1192s # static void
1192s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1192s # {
1192s # ChangedProperty *cp;
1192s # GList *l;
1192s # cp = NULL;
1192s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1192s # {
1192s # ChangedProperty *i_cp = l->data;
1192s # if (i_cp->info == info)
1192s # {
1192s # cp = i_cp;
1192s # break;
1192s # }
1192s # }
1192s # if (cp == NULL)
1192s # {
1192s # cp = g_new0 (ChangedProperty, 1);
1192s # cp->prop_id = prop_id;
1192s # cp->info = info;
1192s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1192s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1192s # g_value_copy (orig_value, &cp->orig_value);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_notify (GObject *object,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # if (skeleton->priv->changed_properties != NULL &&
1192s # skeleton->priv->changed_properties_idle_source == NULL)
1192s # {
1192s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1192s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1192s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1192s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1192s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1192s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_set_property (GObject *object,
1192s # guint prop_id,
1192s # const GValue *value,
1192s # GParamSpec *pspec)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # g_object_freeze_notify (object);
1192s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1192s # {
1192s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1192s # info->emits_changed_signal)
1192s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1192s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1192s # g_object_notify_by_pspec (object, pspec);
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # g_object_thaw_notify (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1192s # #else
1192s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1192s # #endif
1192s #
1192s # g_mutex_init (&skeleton->priv->lock);
1192s # skeleton->priv->context = g_main_context_ref_thread_default ();
1192s # skeleton->priv->properties = g_new0 (GValue, 1);
1192s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1192s # }
1192s #
1192s # static const gchar *
1192s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # const gchar *value;
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # return value;
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusInterfaceSkeletonClass *skeleton_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1192s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1192s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1192s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1192s #
1192s #
1192s # com_acme_coyote_override_properties (gobject_class, 1);
1192s #
1192s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1192s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1192s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1192s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1192s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1192s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_skeleton_new:
1192s # *
1192s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_skeleton_new (void)
1192s # {
1192s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1192s # }
1192s # Error:
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4rvvziqw/tmpnm2xyvr42.xml', '/tmp/tmp4rvvziqw/tmptkmj0bmj1.xml', '--output', '-', '--body']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifdef HAVE_CONFIG_H
1192s # # include "config.h"
1192s # #endif
1192s #
1192s # #include
1192s # #ifdef G_OS_UNIX
1192s # # include
1192s # #endif
1192s #
1192s # #ifdef G_ENABLE_DEBUG
1192s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1192s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1192s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1192s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1192s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1192s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1192s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1192s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1192s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1192s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1192s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1192s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1192s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1192s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1192s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1192s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1192s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1192s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1192s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1192s # #else /* !G_ENABLE_DEBUG */
1192s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1192s # * Do not access GValues directly in your code. Instead, use the
1192s # * g_value_get_*() functions
1192s # */
1192s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1192s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1192s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1192s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1192s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1192s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1192s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1192s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1192s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1192s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1192s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1192s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1192s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1192s # #endif /* !G_ENABLE_DEBUG */
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusArgInfo parent_struct;
1192s # gboolean use_gvariant;
1192s # } _ExtendedGDBusArgInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusMethodInfo parent_struct;
1192s # const gchar *signal_name;
1192s # gboolean pass_fdlist;
1192s # } _ExtendedGDBusMethodInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusSignalInfo parent_struct;
1192s # const gchar *signal_name;
1192s # } _ExtendedGDBusSignalInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusPropertyInfo parent_struct;
1192s # const gchar *hyphen_name;
1192s # guint use_gvariant : 1;
1192s # guint emits_changed_signal : 1;
1192s # } _ExtendedGDBusPropertyInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # GDBusInterfaceInfo parent_struct;
1192s # const gchar *hyphen_name;
1192s # } _ExtendedGDBusInterfaceInfo;
1192s #
1192s # typedef struct
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # guint prop_id;
1192s # GValue orig_value; /* the value before the change */
1192s # } ChangedProperty;
1192s #
1192s # static void
1192s # _changed_property_free (ChangedProperty *data)
1192s # {
1192s # g_value_unset (&data->orig_value);
1192s # g_free (data);
1192s # }
1192s #
1192s # static gboolean
1192s # _g_strv_equal0 (gchar **a, gchar **b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # guint n;
1192s # if (a == NULL && b == NULL)
1192s # {
1192s # ret = TRUE;
1192s # goto out;
1192s # }
1192s # if (a == NULL || b == NULL)
1192s # goto out;
1192s # if (g_strv_length (a) != g_strv_length (b))
1192s # goto out;
1192s # for (n = 0; a[n] != NULL; n++)
1192s # if (g_strcmp0 (a[n], b[n]) != 0)
1192s # goto out;
1192s # ret = TRUE;
1192s # out:
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _g_variant_equal0 (GVariant *a, GVariant *b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # if (a == NULL && b == NULL)
1192s # {
1192s # ret = TRUE;
1192s # goto out;
1192s # }
1192s # if (a == NULL || b == NULL)
1192s # goto out;
1192s # ret = g_variant_equal (a, b);
1192s # out:
1192s # return ret;
1192s # }
1192s #
1192s # G_GNUC_UNUSED static gboolean
1192s # _g_value_equal (const GValue *a, const GValue *b)
1192s # {
1192s # gboolean ret = FALSE;
1192s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1192s # switch (G_VALUE_TYPE (a))
1192s # {
1192s # case G_TYPE_BOOLEAN:
1192s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1192s # break;
1192s # case G_TYPE_UCHAR:
1192s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1192s # break;
1192s # case G_TYPE_INT:
1192s # ret = (g_value_get_int (a) == g_value_get_int (b));
1192s # break;
1192s # case G_TYPE_UINT:
1192s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1192s # break;
1192s # case G_TYPE_INT64:
1192s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1192s # break;
1192s # case G_TYPE_UINT64:
1192s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1192s # break;
1192s # case G_TYPE_DOUBLE:
1192s # {
1192s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1192s # gdouble da = g_value_get_double (a);
1192s # gdouble db = g_value_get_double (b);
1192s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1192s # }
1192s # break;
1192s # case G_TYPE_STRING:
1192s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1192s # break;
1192s # case G_TYPE_VARIANT:
1192s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1192s # break;
1192s # default:
1192s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1192s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1192s # else
1192s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1192s # break;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static void
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint G_GNUC_UNUSED,
1192s # void *marshal_data)
1192s # {
1192s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1192s # (void *data1,
1192s # GDBusMethodInvocation *arg_method_invocation,
1192s # void *data2);
1192s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1192s # GCClosure *cc = (GCClosure*) closure;
1192s # void *data1, *data2;
1192s # gboolean v_return;
1192s #
1192s # g_return_if_fail (return_value != NULL);
1192s # g_return_if_fail (n_param_values == 2);
1192s #
1192s # if (G_CCLOSURE_SWAP_DATA (closure))
1192s # {
1192s # data1 = closure->data;
1192s # data2 = g_value_peek_pointer (param_values + 0);
1192s # }
1192s # else
1192s # {
1192s # data1 = g_value_peek_pointer (param_values + 0);
1192s # data2 = closure->data;
1192s # }
1192s #
1192s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1192s # (marshal_data ? marshal_data : cc->callback);
1192s #
1192s # v_return =
1192s # callback (data1,
1192s # g_marshal_value_peek_object (param_values + 1),
1192s # data2);
1192s #
1192s # g_value_set_boolean (return_value, v_return);
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------
1192s # * Code for interface org.project.Bar.Frobnicator
1192s # * ------------------------------------------------------------------------
1192s # */
1192s #
1192s # /**
1192s # * SECTION:OrgProjectBarFrobnicator
1192s # * @title: OrgProjectBarFrobnicator
1192s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1192s # *
1192s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1192s # */
1192s #
1192s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1192s #
1192s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "RandomMethod",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-random-method",
1192s # FALSE
1192s # };
1192s #
1192s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1192s # {
1192s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "org.project.Bar.Frobnicator",
1192s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "org-project-bar-frobnicator",
1192s # };
1192s #
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_interface_info:
1192s # *
1192s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1192s # *
1192s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1192s # */
1192s # GDBusInterfaceInfo *
1192s # org_project_bar_frobnicator_interface_info (void)
1192s # {
1192s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_override_properties:
1192s # * @klass: The class structure for a #GObject derived class.
1192s # * @property_id_begin: The property id to assign to the first overridden property.
1192s # *
1192s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1192s # * The properties are overridden in the order they are defined.
1192s # *
1192s # * Returns: The last property id.
1192s # */
1192s # guint
1192s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1192s # {
1192s # return property_id_begin - 1;
1192s # }
1192s #
1192s #
1192s # inline static void
1192s # org_project_bar_frobnicator_method_marshal_random_method (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicator:
1192s # *
1192s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorIface:
1192s # * @parent_iface: The parent interface.
1192s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1192s # *
1192s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1192s # */
1192s #
1192s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1192s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1192s # {
1192s # /* GObject signals for incoming D-Bus method calls: */
1192s # /**
1192s # * OrgProjectBarFrobnicator::handle-random-method:
1192s # * @object: A #OrgProjectBarFrobnicator.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-random-method",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # org_project_bar_frobnicator_method_marshal_random_method,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_call_random_method (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "RandomMethod",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method_finish:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # org_project_bar_frobnicator_call_random_method_finish (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_call_random_method_sync:
1192s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # org_project_bar_frobnicator_call_random_method_sync (
1192s # OrgProjectBarFrobnicator *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "RandomMethod",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_complete_random_method:
1192s # * @object: A #OrgProjectBarFrobnicator.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_complete_random_method (
1192s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorProxy:
1192s # *
1192s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorProxyClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1192s # */
1192s #
1192s # struct _OrgProjectBarFrobnicatorProxyPrivate
1192s # {
1192s # GData *qdata;
1192s # };
1192s #
1192s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1192s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1192s # {
1192s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1192s # g_datalist_clear (&proxy->priv->qdata);
1192s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1192s # guint prop_id G_GNUC_UNUSED,
1192s # GValue *value G_GNUC_UNUSED,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1192s # guint prop_id G_GNUC_UNUSED,
1192s # const GValue *value G_GNUC_UNUSED,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1192s # const gchar *sender_name G_GNUC_UNUSED,
1192s # const gchar *signal_name,
1192s # GVariant *parameters)
1192s # {
1192s # _ExtendedGDBusSignalInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # gsize n;
1192s # guint signal_id;
1192s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1192s # if (info == NULL)
1192s # return;
1192s # num_params = g_variant_n_children (parameters);
1192s # paramv = g_new0 (GValue, num_params + 1);
1192s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_set_object (¶mv[0], proxy);
1192s # g_variant_iter_init (&iter, parameters);
1192s # n = 1;
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_signal_emitv (paramv, signal_id, 0, NULL);
1192s # for (n = 0; n < num_params + 1; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1192s # GVariant *changed_properties,
1192s # const gchar *const *invalidated_properties)
1192s # {
1192s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1192s # guint n;
1192s # const gchar *key;
1192s # GVariantIter *iter;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # g_variant_get (changed_properties, "a{sv}", &iter);
1192s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1192s # g_datalist_remove_data (&proxy->priv->qdata, key);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # g_variant_iter_free (iter);
1192s # for (n = 0; invalidated_properties[n] != NULL; n++)
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1192s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1192s # #else
1192s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1192s # #endif
1192s #
1192s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusProxyClass *proxy_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1192s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1192s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1192s #
1192s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1192s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1192s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_sync:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # org_project_bar_frobnicator_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorSkeleton:
1192s # *
1192s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * OrgProjectBarFrobnicatorSkeletonClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1192s # */
1192s #
1192s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1192s # {
1192s # GValue *properties;
1192s # GList *changed_properties;
1192s # GSource *changed_properties_idle_source;
1192s # GMainContext *context;
1192s # GMutex lock;
1192s # };
1192s #
1192s # static void
1192s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name,
1192s # const gchar *method_name,
1192s # GVariant *parameters,
1192s # GDBusMethodInvocation *invocation,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # _ExtendedGDBusMethodInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # guint num_extra;
1192s # gsize n;
1192s # guint signal_id;
1192s # GValue return_value = G_VALUE_INIT;
1192s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1192s # g_assert (info != NULL);
1192s # num_params = g_variant_n_children (parameters);
1192s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1192s # n = 0;
1192s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_set_object (¶mv[n++], skeleton);
1192s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1192s # g_value_set_object (¶mv[n++], invocation);
1192s # if (info->pass_fdlist)
1192s # {
1192s # #ifdef G_OS_UNIX
1192s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1192s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1192s # #else
1192s # g_assert_not_reached ();
1192s # #endif
1192s # }
1192s # g_variant_iter_init (&iter, parameters);
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1192s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1192s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1192s # if (!g_value_get_boolean (&return_value))
1192s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1192s # g_value_unset (&return_value);
1192s # for (n = 0; n < num_params + num_extra; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static GVariant *
1192s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *ret;
1192s # ret = NULL;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # g_value_init (&value, pspec->value_type);
1192s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_value_unset (&value);
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GVariant *variant,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # gboolean ret;
1192s # ret = FALSE;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # if (info->use_gvariant)
1192s # g_value_set_variant (&value, variant);
1192s # else
1192s # g_dbus_gvariant_to_gvalue (variant, &value);
1192s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # g_value_unset (&value);
1192s # ret = TRUE;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1192s # {
1192s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1192s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1192s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1192s # {NULL}
1192s # };
1192s #
1192s # static GDBusInterfaceInfo *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return org_project_bar_frobnicator_interface_info ();
1192s # }
1192s #
1192s # static GDBusInterfaceVTable *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1192s # }
1192s #
1192s # static GVariant *
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1192s #
1192s # GVariantBuilder builder;
1192s # guint n;
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #else
1192s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #endif
1192s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1192s # goto out;
1192s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1192s # {
1192s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1192s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1192s # {
1192s # GVariant *value;
1192s # 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);
1192s # if (value != NULL)
1192s # {
1192s # g_variant_take_ref (value);
1192s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1192s # g_variant_unref (value);
1192s # }
1192s # }
1192s # }
1192s # out:
1192s # return g_variant_builder_end (&builder);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1192s # {
1192s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # g_main_context_unref (skeleton->priv->context);
1192s # g_mutex_clear (&skeleton->priv->lock);
1192s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1192s # #else
1192s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1192s # #endif
1192s #
1192s # g_mutex_init (&skeleton->priv->lock);
1192s # skeleton->priv->context = g_main_context_ref_thread_default ();
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusInterfaceSkeletonClass *skeleton_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1192s #
1192s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1192s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1192s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1192s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1192s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1192s # {
1192s # }
1192s #
1192s # /**
1192s # * org_project_bar_frobnicator_skeleton_new:
1192s # *
1192s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1192s # *
1192s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1192s # */
1192s # OrgProjectBarFrobnicator *
1192s # org_project_bar_frobnicator_skeleton_new (void)
1192s # {
1192s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------
1192s # * Code for interface com.acme.Coyote
1192s # * ------------------------------------------------------------------------
1192s # */
1192s #
1192s # /**
1192s # * SECTION:ComAcmeCoyote
1192s # * @title: ComAcmeCoyote
1192s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1192s # *
1192s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1192s # */
1192s #
1192s # enum
1192s # {
1192s # _COM_ACME_COYOTE_SURPRISED,
1192s # };
1192s #
1192s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1192s #
1192s # /* ---- Introspection data for com.acme.Coyote ---- */
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Run",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-run",
1192s # FALSE
1192s # };
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Sleep",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-sleep",
1192s # FALSE
1192s # };
1192s #
1192s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Attack",
1192s # NULL,
1192s # NULL,
1192s # NULL
1192s # },
1192s # "handle-attack",
1192s # FALSE
1192s # };
1192s #
1192s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_method_info_run.parent_struct,
1192s # &_com_acme_coyote_method_info_sleep.parent_struct,
1192s # &_com_acme_coyote_method_info_attack.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Surprised",
1192s # NULL,
1192s # NULL
1192s # },
1192s # "surprised"
1192s # };
1192s #
1192s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "Mood",
1192s # (gchar *) "s",
1192s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1192s # NULL
1192s # },
1192s # "mood",
1192s # FALSE,
1192s # TRUE
1192s # };
1192s #
1192s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1192s # {
1192s # &_com_acme_coyote_property_info_mood.parent_struct,
1192s # NULL
1192s # };
1192s #
1192s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1192s # {
1192s # {
1192s # -1,
1192s # (gchar *) "com.acme.Coyote",
1192s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1192s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1192s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1192s # NULL
1192s # },
1192s # "com-acme-coyote",
1192s # };
1192s #
1192s #
1192s # /**
1192s # * com_acme_coyote_interface_info:
1192s # *
1192s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1192s # *
1192s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1192s # */
1192s # GDBusInterfaceInfo *
1192s # com_acme_coyote_interface_info (void)
1192s # {
1192s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_override_properties:
1192s # * @klass: The class structure for a #GObject derived class.
1192s # * @property_id_begin: The property id to assign to the first overridden property.
1192s # *
1192s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1192s # * The properties are overridden in the order they are defined.
1192s # *
1192s # * Returns: The last property id.
1192s # */
1192s # guint
1192s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1192s # {
1192s # g_object_class_override_property (klass, property_id_begin++, "mood");
1192s # return property_id_begin - 1;
1192s # }
1192s #
1192s #
1192s # inline static void
1192s # com_acme_coyote_signal_marshal_surprised (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # g_cclosure_marshal_VOID__VOID (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_run (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_sleep (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s # inline static void
1192s # com_acme_coyote_method_marshal_attack (
1192s # GClosure *closure,
1192s # GValue *return_value,
1192s # unsigned int n_param_values,
1192s # const GValue *param_values,
1192s # void *invocation_hint,
1192s # void *marshal_data)
1192s # {
1192s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1192s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1192s # }
1192s #
1192s #
1192s # /**
1192s # * ComAcmeCoyote:
1192s # *
1192s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteIface:
1192s # * @parent_iface: The parent interface.
1192s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1192s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1192s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1192s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1192s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1192s # *
1192s # * Virtual table for the D-Bus interface com.acme.Coyote.
1192s # */
1192s #
1192s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1192s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1192s #
1192s # static void
1192s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # /* GObject signals for incoming D-Bus method calls: */
1192s # /**
1192s # * ComAcmeCoyote::handle-run:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-run",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_run,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /**
1192s # * ComAcmeCoyote::handle-sleep:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-sleep",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_sleep,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /**
1192s # * ComAcmeCoyote::handle-attack:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: A #GDBusMethodInvocation.
1192s # *
1192s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1192s # *
1192s # * If 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.
1192s # *
1192s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
1192s # */
1192s # g_signal_new ("handle-attack",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1192s # g_signal_accumulator_true_handled,
1192s # NULL,
1192s # com_acme_coyote_method_marshal_attack,
1192s # G_TYPE_BOOLEAN,
1192s # 1,
1192s # G_TYPE_DBUS_METHOD_INVOCATION);
1192s #
1192s # /* GObject signals for received D-Bus signals: */
1192s # /**
1192s # * ComAcmeCoyote::surprised:
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1192s # *
1192s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1192s # */
1192s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1192s # g_signal_new ("surprised",
1192s # G_TYPE_FROM_INTERFACE (iface),
1192s # G_SIGNAL_RUN_LAST,
1192s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1192s # NULL,
1192s # NULL,
1192s # com_acme_coyote_signal_marshal_surprised,
1192s # G_TYPE_NONE,
1192s # 0);
1192s #
1192s # /* GObject properties for D-Bus properties: */
1192s # /**
1192s # * ComAcmeCoyote:mood:
1192s # *
1192s # * Represents the D-Bus property "Mood".
1192s # *
1192s # * 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.
1192s # */
1192s # g_object_interface_install_property (iface,
1192s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_get_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Gets the value of the "Mood" D-Bus property.
1192s # *
1192s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1192s # *
1192s # * 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.
1192s # *
1192s # * 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.
1192s # */
1192s # const gchar *
1192s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1192s #
1192s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_dup_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Gets a copy of the "Mood" D-Bus property.
1192s # *
1192s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1192s # *
1192s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1192s # */
1192s # gchar *
1192s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1192s # {
1192s # gchar *value;
1192s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1192s # return value;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_set_mood: (skip)
1192s # * @object: A #ComAcmeCoyote.
1192s # * @value: The value to set.
1192s # *
1192s # * Sets the "Mood" D-Bus property to @value.
1192s # *
1192s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1192s # */
1192s # void
1192s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1192s # {
1192s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_emit_surprised:
1192s # * @object: A #ComAcmeCoyote.
1192s # *
1192s # * Emits the "Surprised" D-Bus signal.
1192s # */
1192s # void
1192s # com_acme_coyote_emit_surprised (
1192s # ComAcmeCoyote *object)
1192s # {
1192s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_run (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Run",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_run().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_run_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_run_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_run_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Run",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_sleep (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Sleep",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_sleep().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_sleep_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_sleep_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_sleep_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Sleep",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1192s # */
1192s # void
1192s # com_acme_coyote_call_attack (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1192s # "Attack",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # callback,
1192s # user_data);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack_finish:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_call_attack().
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_attack_finish (
1192s # ComAcmeCoyote *proxy,
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_call_attack_sync:
1192s # * @proxy: A #ComAcmeCoyoteProxy.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL.
1192s # *
1192s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1192s # *
1192s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1192s # */
1192s # gboolean
1192s # com_acme_coyote_call_attack_sync (
1192s # ComAcmeCoyote *proxy,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GVariant *_ret;
1192s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1192s # "Attack",
1192s # g_variant_new ("()"),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # cancellable,
1192s # error);
1192s # if (_ret == NULL)
1192s # goto _out;
1192s # g_variant_get (_ret,
1192s # "()");
1192s # g_variant_unref (_ret);
1192s # _out:
1192s # return _ret != NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_run:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_run (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_sleep:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_sleep (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_complete_attack:
1192s # * @object: A #ComAcmeCoyote.
1192s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1192s # *
1192s # * 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.
1192s # *
1192s # * This method will free @invocation, you cannot use it afterwards.
1192s # */
1192s # void
1192s # com_acme_coyote_complete_attack (
1192s # ComAcmeCoyote *object G_GNUC_UNUSED,
1192s # GDBusMethodInvocation *invocation)
1192s # {
1192s # g_dbus_method_invocation_return_value (invocation,
1192s # g_variant_new ("()"));
1192s # }
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteProxy:
1192s # *
1192s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteProxyClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #ComAcmeCoyoteProxy.
1192s # */
1192s #
1192s # struct _ComAcmeCoyoteProxyPrivate
1192s # {
1192s # GData *qdata;
1192s # };
1192s #
1192s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1192s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # com_acme_coyote_proxy_finalize (GObject *object)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1192s # g_datalist_clear (&proxy->priv->qdata);
1192s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_get_property (GObject *object,
1192s # guint prop_id,
1192s # GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *variant;
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1192s # if (info->use_gvariant)
1192s # {
1192s # g_value_set_variant (value, variant);
1192s # }
1192s # else
1192s # {
1192s # if (variant != NULL)
1192s # g_dbus_gvariant_to_gvalue (variant, value);
1192s # }
1192s # if (variant != NULL)
1192s # g_variant_unref (variant);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1192s # GAsyncResult *res,
1192s # gpointer user_data)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info = user_data;
1192s # GError *error;
1192s # GVariant *_ret;
1192s # error = NULL;
1192s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1192s # if (!_ret)
1192s # {
1192s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1192s # info->parent_struct.name,
1192s # error->message, g_quark_to_string (error->domain), error->code);
1192s # g_error_free (error);
1192s # }
1192s # else
1192s # {
1192s # g_variant_unref (_ret);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_set_property (GObject *object,
1192s # guint prop_id,
1192s # const GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *variant;
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1192s # "org.freedesktop.DBus.Properties.Set",
1192s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1192s # G_DBUS_CALL_FLAGS_NONE,
1192s # -1,
1192s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1192s # g_variant_unref (variant);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1192s # const gchar *sender_name G_GNUC_UNUSED,
1192s # const gchar *signal_name,
1192s # GVariant *parameters)
1192s # {
1192s # _ExtendedGDBusSignalInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # gsize n;
1192s # guint signal_id;
1192s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1192s # if (info == NULL)
1192s # return;
1192s # num_params = g_variant_n_children (parameters);
1192s # paramv = g_new0 (GValue, num_params + 1);
1192s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1192s # g_value_set_object (¶mv[0], proxy);
1192s # g_variant_iter_init (&iter, parameters);
1192s # n = 1;
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1192s # g_signal_emitv (paramv, signal_id, 0, NULL);
1192s # for (n = 0; n < num_params + 1; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1192s # GVariant *changed_properties,
1192s # const gchar *const *invalidated_properties)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1192s # guint n;
1192s # const gchar *key;
1192s # GVariantIter *iter;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # g_variant_get (changed_properties, "a{sv}", &iter);
1192s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1192s # g_datalist_remove_data (&proxy->priv->qdata, key);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # g_variant_iter_free (iter);
1192s # for (n = 0; invalidated_properties[n] != NULL; n++)
1192s # {
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1192s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1192s # if (info != NULL)
1192s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1192s # }
1192s # }
1192s #
1192s # static const gchar *
1192s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1192s # GVariant *variant;
1192s # const gchar *value = NULL;
1192s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1192s # if (variant != NULL)
1192s # {
1192s # value = g_variant_get_string (variant, NULL);
1192s # g_variant_unref (variant);
1192s # }
1192s # return value;
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1192s # #else
1192s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1192s # #endif
1192s #
1192s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusProxyClass *proxy_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1192s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1192s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1192s #
1192s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1192s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1192s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1192s #
1192s # com_acme_coyote_override_properties (gobject_class, 1);
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # com_acme_coyote_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_proxy_new().
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_sync:
1192s # * @connection: A #GDBusConnection.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1192s # * @user_data: User data to pass to @callback.
1192s # *
1192s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1192s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1192s # *
1192s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1192s # */
1192s # void
1192s # com_acme_coyote_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data)
1192s # {
1192s # 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);
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus_finish:
1192s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error)
1192s # {
1192s # GObject *ret;
1192s # GObject *source_object;
1192s # source_object = g_async_result_get_source_object (res);
1192s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1192s # g_object_unref (source_object);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_proxy_new_for_bus_sync:
1192s # * @bus_type: A #GBusType.
1192s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1192s # * @name: A bus name (well-known or unique).
1192s # * @object_path: An object path.
1192s # * @cancellable: (nullable): A #GCancellable or %NULL.
1192s # * @error: Return location for error or %NULL
1192s # *
1192s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1192s # *
1192s # * The calling thread is blocked until a reply is received.
1192s # *
1192s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error)
1192s # {
1192s # GInitable *ret;
1192s # 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);
1192s # if (ret != NULL)
1192s # return COM_ACME_COYOTE (ret);
1192s # else
1192s # return NULL;
1192s # }
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteSkeleton:
1192s # *
1192s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1192s # */
1192s #
1192s # /**
1192s # * ComAcmeCoyoteSkeletonClass:
1192s # * @parent_class: The parent class.
1192s # *
1192s # * Class structure for #ComAcmeCoyoteSkeleton.
1192s # */
1192s #
1192s # struct _ComAcmeCoyoteSkeletonPrivate
1192s # {
1192s # GValue *properties;
1192s # GList *changed_properties;
1192s # GSource *changed_properties_idle_source;
1192s # GMainContext *context;
1192s # GMutex lock;
1192s # };
1192s #
1192s # static void
1192s # _com_acme_coyote_skeleton_handle_method_call (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name,
1192s # const gchar *method_name,
1192s # GVariant *parameters,
1192s # GDBusMethodInvocation *invocation,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # _ExtendedGDBusMethodInfo *info;
1192s # GVariantIter iter;
1192s # GVariant *child;
1192s # GValue *paramv;
1192s # gsize num_params;
1192s # guint num_extra;
1192s # gsize n;
1192s # guint signal_id;
1192s # GValue return_value = G_VALUE_INIT;
1192s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1192s # g_assert (info != NULL);
1192s # num_params = g_variant_n_children (parameters);
1192s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1192s # n = 0;
1192s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1192s # g_value_set_object (¶mv[n++], skeleton);
1192s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1192s # g_value_set_object (¶mv[n++], invocation);
1192s # if (info->pass_fdlist)
1192s # {
1192s # #ifdef G_OS_UNIX
1192s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1192s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1192s # #else
1192s # g_assert_not_reached ();
1192s # #endif
1192s # }
1192s # g_variant_iter_init (&iter, parameters);
1192s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1192s # {
1192s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1192s # if (arg_info->use_gvariant)
1192s # {
1192s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1192s # g_value_set_variant (¶mv[n], child);
1192s # n++;
1192s # }
1192s # else
1192s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1192s # g_variant_unref (child);
1192s # }
1192s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1192s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1192s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1192s # if (!g_value_get_boolean (&return_value))
1192s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1192s # g_value_unset (&return_value);
1192s # for (n = 0; n < num_params + num_extra; n++)
1192s # g_value_unset (¶mv[n]);
1192s # g_free (paramv);
1192s # }
1192s #
1192s # static GVariant *
1192s # _com_acme_coyote_skeleton_handle_get_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # GVariant *ret;
1192s # ret = NULL;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # g_value_init (&value, pspec->value_type);
1192s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1192s # g_value_unset (&value);
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static gboolean
1192s # _com_acme_coyote_skeleton_handle_set_property (
1192s # GDBusConnection *connection G_GNUC_UNUSED,
1192s # const gchar *sender G_GNUC_UNUSED,
1192s # const gchar *object_path G_GNUC_UNUSED,
1192s # const gchar *interface_name G_GNUC_UNUSED,
1192s # const gchar *property_name,
1192s # GVariant *variant,
1192s # GError **error,
1192s # gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GValue value = G_VALUE_INIT;
1192s # GParamSpec *pspec;
1192s # _ExtendedGDBusPropertyInfo *info;
1192s # gboolean ret;
1192s # ret = FALSE;
1192s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1192s # g_assert (info != NULL);
1192s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1192s # if (pspec == NULL)
1192s # {
1192s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1192s # }
1192s # else
1192s # {
1192s # if (info->use_gvariant)
1192s # g_value_set_variant (&value, variant);
1192s # else
1192s # g_dbus_gvariant_to_gvalue (variant, &value);
1192s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1192s # g_value_unset (&value);
1192s # ret = TRUE;
1192s # }
1192s # return ret;
1192s # }
1192s #
1192s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1192s # {
1192s # _com_acme_coyote_skeleton_handle_method_call,
1192s # _com_acme_coyote_skeleton_handle_get_property,
1192s # _com_acme_coyote_skeleton_handle_set_property,
1192s # {NULL}
1192s # };
1192s #
1192s # static GDBusInterfaceInfo *
1192s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return com_acme_coyote_interface_info ();
1192s # }
1192s #
1192s # static GDBusInterfaceVTable *
1192s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1192s # {
1192s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1192s # }
1192s #
1192s # static GVariant *
1192s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1192s #
1192s # GVariantBuilder builder;
1192s # guint n;
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #else
1192s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # #endif
1192s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1192s # goto out;
1192s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1192s # {
1192s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1192s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1192s # {
1192s # GVariant *value;
1192s # 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);
1192s # if (value != NULL)
1192s # {
1192s # g_variant_take_ref (value);
1192s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1192s # g_variant_unref (value);
1192s # }
1192s # }
1192s # }
1192s # out:
1192s # return g_variant_builder_end (&builder);
1192s # }
1192s #
1192s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1192s # gboolean emit_changed = FALSE;
1192s #
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # {
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # skeleton->priv->changed_properties_idle_source = NULL;
1192s # emit_changed = TRUE;
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s #
1192s # if (emit_changed)
1192s # _com_acme_coyote_emit_changed (skeleton);
1192s # }
1192s #
1192s # static void
1192s # _com_acme_coyote_on_signal_surprised (
1192s # ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s #
1192s # GList *connections, *l;
1192s # GVariant *signal_variant;
1192s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1192s #
1192s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1192s # for (l = connections; l != NULL; l = l->next)
1192s # {
1192s # GDBusConnection *connection = l->data;
1192s # g_dbus_connection_emit_signal (connection,
1192s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1192s # signal_variant, NULL);
1192s # }
1192s # g_variant_unref (signal_variant);
1192s # g_list_free_full (connections, g_object_unref);
1192s # }
1192s #
1192s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1192s #
1192s # #else
1192s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1192s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1192s #
1192s # #endif
1192s # static void
1192s # com_acme_coyote_skeleton_finalize (GObject *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # guint n;
1192s # for (n = 0; n < 1; n++)
1192s # g_value_unset (&skeleton->priv->properties[n]);
1192s # g_free (skeleton->priv->properties);
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # if (skeleton->priv->changed_properties_idle_source != NULL)
1192s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1192s # g_main_context_unref (skeleton->priv->context);
1192s # g_mutex_clear (&skeleton->priv->lock);
1192s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_get_property (GObject *object,
1192s # guint prop_id,
1192s # GValue *value,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # }
1192s #
1192s # static gboolean
1192s # _com_acme_coyote_emit_changed (gpointer user_data)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1192s # GList *l;
1192s # GVariantBuilder builder;
1192s # GVariantBuilder invalidated_builder;
1192s # guint num_changes;
1192s #
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1192s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1192s # #else
1192s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1192s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1192s # #endif
1192s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1192s # {
1192s # ChangedProperty *cp = l->data;
1192s # GVariant *variant;
1192s # const GValue *cur_value;
1192s #
1192s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1192s # if (!_g_value_equal (cur_value, &cp->orig_value))
1192s # {
1192s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1192s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1192s # g_variant_unref (variant);
1192s # num_changes++;
1192s # }
1192s # }
1192s # if (num_changes > 0)
1192s # {
1192s # GList *connections, *ll;
1192s # GVariant *signal_variant;
1192s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1192s # &builder, &invalidated_builder));
1192s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1192s # for (ll = connections; ll != NULL; ll = ll->next)
1192s # {
1192s # GDBusConnection *connection = ll->data;
1192s #
1192s # g_dbus_connection_emit_signal (connection,
1192s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1192s # "org.freedesktop.DBus.Properties",
1192s # "PropertiesChanged",
1192s # signal_variant,
1192s # NULL);
1192s # }
1192s # g_variant_unref (signal_variant);
1192s # g_list_free_full (connections, g_object_unref);
1192s # }
1192s # else
1192s # {
1192s # g_variant_builder_clear (&builder);
1192s # g_variant_builder_clear (&invalidated_builder);
1192s # }
1192s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1192s # skeleton->priv->changed_properties = NULL;
1192s # skeleton->priv->changed_properties_idle_source = NULL;
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # return FALSE;
1192s # }
1192s #
1192s # static void
1192s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1192s # {
1192s # ChangedProperty *cp;
1192s # GList *l;
1192s # cp = NULL;
1192s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1192s # {
1192s # ChangedProperty *i_cp = l->data;
1192s # if (i_cp->info == info)
1192s # {
1192s # cp = i_cp;
1192s # break;
1192s # }
1192s # }
1192s # if (cp == NULL)
1192s # {
1192s # cp = g_new0 (ChangedProperty, 1);
1192s # cp->prop_id = prop_id;
1192s # cp->info = info;
1192s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1192s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1192s # g_value_copy (orig_value, &cp->orig_value);
1192s # }
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_notify (GObject *object,
1192s # GParamSpec *pspec G_GNUC_UNUSED)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # if (skeleton->priv->changed_properties != NULL &&
1192s # skeleton->priv->changed_properties_idle_source == NULL)
1192s # {
1192s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1192s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1192s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1192s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1192s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1192s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_set_property (GObject *object,
1192s # guint prop_id,
1192s # const GValue *value,
1192s # GParamSpec *pspec)
1192s # {
1192s # const _ExtendedGDBusPropertyInfo *info;
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1192s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # g_object_freeze_notify (object);
1192s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1192s # {
1192s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1192s # info->emits_changed_signal)
1192s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1192s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1192s # g_object_notify_by_pspec (object, pspec);
1192s # }
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # g_object_thaw_notify (object);
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1192s # {
1192s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1192s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1192s # #else
1192s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1192s # #endif
1192s #
1192s # g_mutex_init (&skeleton->priv->lock);
1192s # skeleton->priv->context = g_main_context_ref_thread_default ();
1192s # skeleton->priv->properties = g_new0 (GValue, 1);
1192s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1192s # }
1192s #
1192s # static const gchar *
1192s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1192s # {
1192s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1192s # const gchar *value;
1192s # g_mutex_lock (&skeleton->priv->lock);
1192s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1192s # g_mutex_unlock (&skeleton->priv->lock);
1192s # return value;
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1192s # {
1192s # GObjectClass *gobject_class;
1192s # GDBusInterfaceSkeletonClass *skeleton_class;
1192s #
1192s # gobject_class = G_OBJECT_CLASS (klass);
1192s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1192s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1192s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1192s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1192s #
1192s #
1192s # com_acme_coyote_override_properties (gobject_class, 1);
1192s #
1192s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1192s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1192s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1192s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1192s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1192s #
1192s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1192s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1192s # #endif
1192s # }
1192s #
1192s # static void
1192s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1192s # {
1192s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1192s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1192s # }
1192s #
1192s # /**
1192s # * com_acme_coyote_skeleton_new:
1192s # *
1192s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1192s # *
1192s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1192s # */
1192s # ComAcmeCoyote *
1192s # com_acme_coyote_skeleton_new (void)
1192s # {
1192s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1192s # }
1192s # Error:
1192s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
1192s # gdbus-codegen: /usr/bin/gdbus-codegen
1192s # tmpdir: /tmp/tmptjcd06w1
1192s # /tmp/tmptjcd06w1/tmp0u23haff.xml:
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjcd06w1/tmp0u23haff.xml', '--output', '-', '--header']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifndef __STDOUT__
1192s # #define __STDOUT__
1192s #
1192s # #include
1192s #
1192s # G_BEGIN_DECLS
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for FDPassing */
1192s #
1192s # #define TYPE_FDPASSING (fdpassing_get_type ())
1192s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1192s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1192s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1192s #
1192s # struct _FDPassing;
1192s # typedef struct _FDPassing FDPassing;
1192s # typedef struct _FDPassingIface FDPassingIface;
1192s #
1192s # struct _FDPassingIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s # gboolean (*handle_hello_fd) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *arg_greeting);
1192s #
1192s # gboolean (*handle_no_annotation) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale);
1192s #
1192s # gboolean (*handle_no_annotation_nested) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *arg_files);
1192s #
1192s # };
1192s #
1192s # GType fdpassing_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1192s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void fdpassing_complete_hello_fd (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *response);
1192s #
1192s # void fdpassing_complete_no_annotation (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *response,
1192s # const gchar *response_locale);
1192s #
1192s # void fdpassing_complete_no_annotation_nested (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void fdpassing_call_hello_fd (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GUnixFDList *fd_list,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_hello_fd_finish (
1192s # FDPassing *proxy,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_hello_fd_sync (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GUnixFDList *fd_list,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_finish (
1192s # FDPassing *proxy,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation_nested (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_finish (
1192s # FDPassing *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1192s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1192s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1192s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1192s #
1192s # typedef struct _FDPassingProxy FDPassingProxy;
1192s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1192s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1192s #
1192s # struct _FDPassingProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # FDPassingProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void fdpassing_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1192s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1192s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1192s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1192s #
1192s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1192s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1192s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1192s #
1192s # struct _FDPassingSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # FDPassingSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # FDPassing *fdpassing_skeleton_new (void);
1192s #
1192s #
1192s # G_END_DECLS
1192s #
1192s # #endif /* __STDOUT__ */
1192s # Error:
1192s #
1192s # /tmp/tmptjcd06w1/tmpm2q4bcss.xml:
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjcd06w1/tmpm2q4bcss.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifndef __STDOUT__
1192s # #define __STDOUT__
1192s #
1192s # #include
1192s #
1192s # G_BEGIN_DECLS
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for FDPassing */
1192s #
1192s # #define TYPE_FDPASSING (fdpassing_get_type ())
1192s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1192s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1192s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1192s #
1192s # struct _FDPassing;
1192s # typedef struct _FDPassing FDPassing;
1192s # typedef struct _FDPassingIface FDPassingIface;
1192s #
1192s # struct _FDPassingIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s # gboolean (*handle_hello_fd) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *arg_greeting);
1192s #
1192s # gboolean (*handle_no_annotation) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale);
1192s #
1192s # gboolean (*handle_no_annotation_nested) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *arg_files);
1192s #
1192s # };
1192s #
1192s # GType fdpassing_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1192s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void fdpassing_complete_hello_fd (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *response);
1192s #
1192s # void fdpassing_complete_no_annotation (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GVariant *response,
1192s # const gchar *response_locale);
1192s #
1192s # void fdpassing_complete_no_annotation_nested (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void fdpassing_call_hello_fd (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GUnixFDList *fd_list,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_hello_fd_finish (
1192s # FDPassing *proxy,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_hello_fd_sync (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GUnixFDList *fd_list,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_finish (
1192s # FDPassing *proxy,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation_nested (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_finish (
1192s # FDPassing *proxy,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1192s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1192s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1192s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1192s #
1192s # typedef struct _FDPassingProxy FDPassingProxy;
1192s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1192s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1192s #
1192s # struct _FDPassingProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # FDPassingProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void fdpassing_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1192s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1192s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1192s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1192s #
1192s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1192s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1192s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1192s #
1192s # struct _FDPassingSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # FDPassingSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # FDPassing *fdpassing_skeleton_new (void);
1192s #
1192s #
1192s # G_END_DECLS
1192s #
1192s # #endif /* __STDOUT__ */
1192s # Error:
1192s #
1192s # /tmp/tmptjcd06w1/tmpa45p267f.xml:
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s #
1192s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjcd06w1/tmpa45p267f.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1192s # Return code: 0
1192s # Output:
1192s # /*
1192s # * This file is generated by gdbus-codegen, do not modify it.
1192s # *
1192s # * The license of this code is the same as for the D-Bus interface description
1192s # * it was derived from. Note that it links to GLib, so must comply with the
1192s # * LGPL linking clauses.
1192s # */
1192s #
1192s # #ifndef __STDOUT__
1192s # #define __STDOUT__
1192s #
1192s # #include
1192s #
1192s # G_BEGIN_DECLS
1192s #
1192s #
1192s # /* ------------------------------------------------------------------------ */
1192s # /* Declarations for FDPassing */
1192s #
1192s # #define TYPE_FDPASSING (fdpassing_get_type ())
1192s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1192s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1192s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1192s #
1192s # struct _FDPassing;
1192s # typedef struct _FDPassing FDPassing;
1192s # typedef struct _FDPassingIface FDPassingIface;
1192s #
1192s # struct _FDPassingIface
1192s # {
1192s # GTypeInterface parent_iface;
1192s #
1192s # gboolean (*handle_hello_fd) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *arg_greeting);
1192s #
1192s # gboolean (*handle_no_annotation) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale);
1192s #
1192s # gboolean (*handle_no_annotation_nested) (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # GVariant *arg_files);
1192s #
1192s # };
1192s #
1192s # GType fdpassing_get_type (void) G_GNUC_CONST;
1192s #
1192s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1192s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1192s #
1192s #
1192s # /* D-Bus method call completion functions: */
1192s # void fdpassing_complete_hello_fd (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # const gchar *response);
1192s #
1192s # void fdpassing_complete_no_annotation (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list,
1192s # GVariant *response,
1192s # const gchar *response_locale);
1192s #
1192s # void fdpassing_complete_no_annotation_nested (
1192s # FDPassing *object,
1192s # GDBusMethodInvocation *invocation,
1192s # GUnixFDList *fd_list);
1192s #
1192s #
1192s #
1192s # /* D-Bus method calls: */
1192s # void fdpassing_call_hello_fd (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_hello_fd_finish (
1192s # FDPassing *proxy,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_hello_fd_sync (
1192s # FDPassing *proxy,
1192s # const gchar *arg_greeting,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # gchar **out_response,
1192s # GUnixFDList **out_fd_list,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_finish (
1192s # FDPassing *proxy,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GUnixFDList **out_fd_list,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_greeting,
1192s # const gchar *arg_greeting_locale,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # GVariant **out_response,
1192s # gchar **out_response_locale,
1192s # GUnixFDList **out_fd_list,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_call_no_annotation_nested (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_finish (
1192s # FDPassing *proxy,
1192s # GUnixFDList **out_fd_list,
1192s # GAsyncResult *res,
1192s # GError **error);
1192s #
1192s # gboolean fdpassing_call_no_annotation_nested_sync (
1192s # FDPassing *proxy,
1192s # GVariant *arg_files,
1192s # GDBusCallFlags call_flags,
1192s # gint timeout_msec,
1192s # GUnixFDList *fd_list,
1192s # GUnixFDList **out_fd_list,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1192s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1192s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1192s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1192s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1192s #
1192s # typedef struct _FDPassingProxy FDPassingProxy;
1192s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1192s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1192s #
1192s # struct _FDPassingProxy
1192s # {
1192s # /*< private >*/
1192s # GDBusProxy parent_instance;
1192s # FDPassingProxyPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingProxyClass
1192s # {
1192s # GDBusProxyClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1192s # #endif
1192s #
1192s # void fdpassing_proxy_new (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_sync (
1192s # GDBusConnection *connection,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s # void fdpassing_proxy_new_for_bus (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GAsyncReadyCallback callback,
1192s # gpointer user_data);
1192s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1192s # GAsyncResult *res,
1192s # GError **error);
1192s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1192s # GBusType bus_type,
1192s # GDBusProxyFlags flags,
1192s # const gchar *name,
1192s # const gchar *object_path,
1192s # GCancellable *cancellable,
1192s # GError **error);
1192s #
1192s #
1192s # /* ---- */
1192s #
1192s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1192s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1192s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1192s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1192s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1192s #
1192s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1192s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1192s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1192s #
1192s # struct _FDPassingSkeleton
1192s # {
1192s # /*< private >*/
1192s # GDBusInterfaceSkeleton parent_instance;
1192s # FDPassingSkeletonPrivate *priv;
1192s # };
1192s #
1192s # struct _FDPassingSkeletonClass
1192s # {
1192s # GDBusInterfaceSkeletonClass parent_class;
1192s # };
1192s #
1192s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1192s #
1192s # #if GLIB_CHECK_VERSION(2, 44, 0)
1192s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1192s # #endif
1192s #
1192s # FDPassing *fdpassing_skeleton_new (void);
1192s #
1192s #
1192s # G_END_DECLS
1192s #
1192s # #endif /* __STDOUT__ */
1192s # Error:
1192s 1..39
1192s ok - glib/codegen.py.test
1192s # Running test: glib/option-argv0.test
1192s TAP version 14
1192s # random seed: R02S4afd03a3e97f9ad7fc219f51f4538fc6
1192s 1..1
1192s # Start of option tests
1192s ok 1 /option/argv0
1192s # End of option tests
1192s ok - glib/option-argv0.test
1192s # Running test: glib/fileutils.test
1192s TAP version 14
1192s # random seed: R02Sf171d66d9001acc6b9a88944cd022e88
1192s 1..27
1192s # Start of fileutils tests
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/paths/.dirs/runtime
1192s ok 1 /fileutils/paths
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/build-path/.dirs/runtime
1192s ok 2 /fileutils/build-path
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/build-pathv/.dirs/runtime
1192s ok 3 /fileutils/build-pathv
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/build-filename/.dirs/runtime
1192s ok 4 /fileutils/build-filename
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/build-filenamev/.dirs/runtime
1192s ok 5 /fileutils/build-filenamev
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents/.dirs/runtime
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s ok 6 /fileutils/mkdir-with-parents
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/mkdir-with-parents-permission/.dirs/runtime
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s ok 7 /fileutils/mkdir-with-parents-permission
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/format-size-for-display/.dirs/runtime
1192s ok 8 /fileutils/format-size-for-display
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/errors/.dirs/runtime
1192s ok 9 /fileutils/errors
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/basename/.dirs/runtime
1192s ok 10 /fileutils/basename
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/get-basename/.dirs/runtime
1192s ok 11 /fileutils/get-basename
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/dirname/.dirs/runtime
1192s ok 12 /fileutils/dirname
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/dir-make-tmp/.dirs/runtime
1192s ok 13 /fileutils/dir-make-tmp
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/file-open-tmp/.dirs/runtime
1192s ok 14 /fileutils/file-open-tmp
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/file-test/.dirs/runtime
1192s ok 15 /fileutils/file-test
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/mkstemp/.dirs/runtime
1192s ok 16 /fileutils/mkstemp
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/mkdtemp/.dirs/runtime
1192s ok 17 /fileutils/mkdtemp
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/get-contents/.dirs/runtime
1192s ok 18 /fileutils/get-contents
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/get-contents-large-file/.dirs/runtime
1192s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/set-contents/.dirs/runtime
1192s ok 20 /fileutils/set-contents
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/.dirs/runtime
1192s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
1192s # Flags 0 and test 0
1192s # Flags 0 and test 1
1192s # Flags 0 and test 2
1192s # Flags 0 and test 3
1192s # Flags 0 and test 4
1192s # Flags 0 and test 5
1192s # Flags 1 and test 0
1192s # Flags 1 and test 1
1192s # Flags 1 and test 2
1192s # Flags 1 and test 3
1192s # Flags 1 and test 4
1192s # Flags 1 and test 5
1192s # Flags 2 and test 0
1192s # Flags 2 and test 1
1192s # Flags 2 and test 2
1192s # Flags 2 and test 3
1192s # Flags 2 and test 4
1192s # Flags 2 and test 5
1192s # Flags 3 and test 0
1192s # Flags 3 and test 1
1192s # Flags 3 and test 2
1192s # Flags 3 and test 3
1192s # Flags 3 and test 4
1192s # Flags 3 and test 5
1192s # Flags 4 and test 0
1192s # Flags 4 and test 1
1192s # Flags 4 and test 2
1192s # Flags 4 and test 3
1192s # Flags 4 and test 4
1192s # Flags 4 and test 5
1192s # Flags 5 and test 0
1192s # Flags 5 and test 1
1192s # Flags 5 and test 2
1192s # Flags 5 and test 3
1192s # Flags 5 and test 4
1192s # Flags 5 and test 5
1192s # Flags 6 and test 0
1192s # Flags 6 and test 1
1192s # Flags 6 and test 2
1192s # Flags 6 and test 3
1192s # Flags 6 and test 4
1192s # Flags 6 and test 5
1192s ok 21 /fileutils/set-contents-full
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/read-link/.dirs/runtime
1192s ok 22 /fileutils/read-link
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/stdio-wrappers/.dirs/runtime
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s ok 23 /fileutils/stdio-wrappers
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/fopen-modes/.dirs/runtime
1192s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
1192s # Testing fopen() mode 'w'
1192s # Testing fopen() mode 'r'
1192s # Testing fopen() mode 'a'
1192s # Testing fopen() mode 'w+'
1192s # Testing fopen() mode 'r+'
1192s # Testing fopen() mode 'a+'
1192s # Testing fopen() mode 'wb'
1192s # Testing fopen() mode 'rb'
1192s # Testing fopen() mode 'ab'
1192s # Testing fopen() mode 'w+b'
1192s # Testing fopen() mode 'r+b'
1192s # Testing fopen() mode 'a+b'
1192s # Testing fopen() mode 'wb+'
1192s # Testing fopen() mode 'rb+'
1192s # Testing fopen() mode 'ab+'
1192s ok 24 /fileutils/fopen-modes
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/clear-fd/.dirs/runtime
1192s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
1192s # Will be closed by autocleanup: 3, -42
1192s # Testing error handling
1192s ok 25 /fileutils/clear-fd
1192s # Start of set-contents-full tests
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-file/.dirs/runtime
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
1192s ok 26 /fileutils/set-contents-full/read-only-file
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GBQB22/fileutils/set-contents-full/read-only-directory/.dirs/runtime
1192s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
1192s # Flags 0
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 1
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 2
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 3
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 4
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 5
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s # Flags 6
1192s # We do not have CAP_DAC_OVERRIDE or equivalent
1192s ok 27 /fileutils/set-contents-full/read-only-directory
1192s # End of set-contents-full tests
1192s # Start of clear-fd tests
1192s # Start of subprocess tests
1192s # End of subprocess tests
1192s # End of clear-fd tests
1192s # End of fileutils tests
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-Y9BI22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-UCII22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-8TJE22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-82LI22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-KOKE22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-H9JI22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22/glib-file-set-contents-full-rodir-Z6HE22: Directory not empty
1192s Unable to clean up temporary directory /tmp/test_fileutils_GBQB22: Directory not empty
1192s ok - glib/fileutils.test
1192s # Running test: glib/data-output-stream.test
1192s TAP version 14
1192s # random seed: R02S90939ba42fa342ced6ea6e46e1b1a6d1
1192s 1..7
1192s # Start of data-output-stream tests
1192s ok 1 /data-output-stream/basic
1192s ok 2 /data-output-stream/write-lines-LF
1192s ok 3 /data-output-stream/write-lines-CR
1192s ok 4 /data-output-stream/write-lines-CR-LF
1192s ok 5 /data-output-stream/write-int
1192s ok 6 /data-output-stream/seek
1192s ok 7 /data-output-stream/truncate
1192s # End of data-output-stream tests
1192s ok - glib/data-output-stream.test
1192s # Running test: glib/utf8-validate.test
1192s TAP version 14
1192s # random seed: R02Saad59566c436eeb5b1f7fec11073c595
1192s 1..238
1192s # Start of utf8 tests
1192s # Vector 0
1192s # Vector 1
1192s # Vector 2
1192s # Vector 3
1192s # Vector 4
1192s # Vector 5
1192s # Vector 6
1192s # Vector 7
1192s # Vector 8
1192s # Vector 9
1192s # Vector 10
1192s # Vector 11
1192s # Vector 12
1192s # Vector 13
1192s # Vector 14
1192s # Vector 15
1192s # Vector 16
1192s # Vector 17
1192s # Vector 18
1192s # Vector 19
1192s # Vector 20
1192s # Vector 21
1192s # Vector 22
1192s # Vector 23
1192s # Vector 24
1192s # Vector 25
1192s # Vector 26
1192s # Vector 27
1192s ok 1 /utf8/get-char-validated
1192s # Start of validate tests
1192s ok 2 /utf8/validate/0
1192s ok 3 /utf8/validate/1
1192s ok 4 /utf8/validate/2
1192s ok 5 /utf8/validate/3
1192s ok 6 /utf8/validate/4
1192s ok 7 /utf8/validate/5
1192s ok 8 /utf8/validate/6
1192s ok 9 /utf8/validate/7
1192s ok 10 /utf8/validate/8
1192s ok 11 /utf8/validate/9
1192s ok 12 /utf8/validate/10
1192s ok 13 /utf8/validate/11
1192s ok 14 /utf8/validate/12
1192s ok 15 /utf8/validate/13
1192s ok 16 /utf8/validate/14
1192s ok 17 /utf8/validate/15
1192s ok 18 /utf8/validate/16
1192s ok 19 /utf8/validate/17
1192s ok 20 /utf8/validate/18
1192s ok 21 /utf8/validate/19
1192s ok 22 /utf8/validate/20
1192s ok 23 /utf8/validate/21
1192s ok 24 /utf8/validate/22
1192s ok 25 /utf8/validate/23
1192s ok 26 /utf8/validate/24
1192s ok 27 /utf8/validate/25
1192s ok 28 /utf8/validate/26
1192s ok 29 /utf8/validate/27
1192s ok 30 /utf8/validate/28
1192s ok 31 /utf8/validate/29
1192s ok 32 /utf8/validate/30
1192s ok 33 /utf8/validate/31
1192s ok 34 /utf8/validate/32
1192s ok 35 /utf8/validate/33
1192s ok 36 /utf8/validate/34
1192s ok 37 /utf8/validate/35
1192s ok 38 /utf8/validate/36
1192s ok 39 /utf8/validate/37
1192s ok 40 /utf8/validate/38
1192s ok 41 /utf8/validate/39
1192s ok 42 /utf8/validate/40
1192s ok 43 /utf8/validate/41
1192s ok 44 /utf8/validate/42
1192s ok 45 /utf8/validate/43
1192s ok 46 /utf8/validate/44
1192s ok 47 /utf8/validate/45
1192s ok 48 /utf8/validate/46
1192s ok 49 /utf8/validate/47
1192s ok 50 /utf8/validate/48
1192s ok 51 /utf8/validate/49
1192s ok 52 /utf8/validate/50
1192s ok 53 /utf8/validate/51
1192s ok 54 /utf8/validate/52
1192s ok 55 /utf8/validate/53
1192s ok 56 /utf8/validate/54
1192s ok 57 /utf8/validate/55
1192s ok 58 /utf8/validate/56
1192s ok 59 /utf8/validate/57
1192s ok 60 /utf8/validate/58
1192s ok 61 /utf8/validate/59
1192s ok 62 /utf8/validate/60
1192s ok 63 /utf8/validate/61
1192s ok 64 /utf8/validate/62
1192s ok 65 /utf8/validate/63
1192s ok 66 /utf8/validate/64
1192s ok 67 /utf8/validate/65
1192s ok 68 /utf8/validate/66
1192s ok 69 /utf8/validate/67
1192s ok 70 /utf8/validate/68
1192s ok 71 /utf8/validate/69
1192s ok 72 /utf8/validate/70
1192s ok 73 /utf8/validate/71
1192s ok 74 /utf8/validate/72
1192s ok 75 /utf8/validate/73
1192s ok 76 /utf8/validate/74
1192s ok 77 /utf8/validate/75
1192s ok 78 /utf8/validate/76
1192s ok 79 /utf8/validate/77
1192s ok 80 /utf8/validate/78
1192s ok 81 /utf8/validate/79
1192s ok 82 /utf8/validate/80
1192s ok 83 /utf8/validate/81
1192s ok 84 /utf8/validate/82
1192s ok 85 /utf8/validate/83
1192s ok 86 /utf8/validate/84
1192s ok 87 /utf8/validate/85
1192s ok 88 /utf8/validate/86
1192s ok 89 /utf8/validate/87
1192s ok 90 /utf8/validate/88
1192s ok 91 /utf8/validate/89
1192s ok 92 /utf8/validate/90
1192s ok 93 /utf8/validate/91
1192s ok 94 /utf8/validate/92
1192s ok 95 /utf8/validate/93
1192s ok 96 /utf8/validate/94
1192s ok 97 /utf8/validate/95
1192s ok 98 /utf8/validate/96
1192s ok 99 /utf8/validate/97
1192s ok 100 /utf8/validate/98
1192s ok 101 /utf8/validate/99
1192s ok 102 /utf8/validate/100
1192s ok 103 /utf8/validate/101
1192s ok 104 /utf8/validate/102
1192s ok 105 /utf8/validate/103
1192s ok 106 /utf8/validate/104
1192s ok 107 /utf8/validate/105
1192s ok 108 /utf8/validate/106
1192s ok 109 /utf8/validate/107
1192s ok 110 /utf8/validate/108
1192s ok 111 /utf8/validate/109
1192s ok 112 /utf8/validate/110
1192s ok 113 /utf8/validate/111
1192s ok 114 /utf8/validate/112
1192s ok 115 /utf8/validate/113
1192s ok 116 /utf8/validate/114
1192s ok 117 /utf8/validate/115
1192s ok 118 /utf8/validate/116
1192s ok 119 /utf8/validate/117
1192s ok 120 /utf8/validate/118
1192s ok 121 /utf8/validate/119
1192s ok 122 /utf8/validate/120
1192s ok 123 /utf8/validate/121
1192s ok 124 /utf8/validate/122
1192s ok 125 /utf8/validate/123
1192s ok 126 /utf8/validate/124
1192s ok 127 /utf8/validate/125
1192s ok 128 /utf8/validate/126
1192s ok 129 /utf8/validate/127
1192s ok 130 /utf8/validate/128
1192s ok 131 /utf8/validate/129
1192s ok 132 /utf8/validate/130
1192s ok 133 /utf8/validate/131
1192s ok 134 /utf8/validate/132
1192s ok 135 /utf8/validate/133
1192s ok 136 /utf8/validate/134
1192s ok 137 /utf8/validate/135
1192s ok 138 /utf8/validate/136
1192s ok 139 /utf8/validate/137
1192s ok 140 /utf8/validate/138
1192s ok 141 /utf8/validate/139
1192s ok 142 /utf8/validate/140
1192s ok 143 /utf8/validate/141
1192s ok 144 /utf8/validate/142
1192s ok 145 /utf8/validate/143
1192s ok 146 /utf8/validate/144
1192s ok 147 /utf8/validate/145
1192s ok 148 /utf8/validate/146
1192s ok 149 /utf8/validate/147
1192s ok 150 /utf8/validate/148
1192s ok 151 /utf8/validate/149
1192s ok 152 /utf8/validate/150
1192s ok 153 /utf8/validate/151
1192s ok 154 /utf8/validate/152
1192s ok 155 /utf8/validate/153
1192s ok 156 /utf8/validate/154
1192s ok 157 /utf8/validate/155
1192s ok 158 /utf8/validate/156
1192s ok 159 /utf8/validate/157
1192s ok 160 /utf8/validate/158
1192s ok 161 /utf8/validate/159
1192s ok 162 /utf8/validate/160
1192s ok 163 /utf8/validate/161
1192s ok 164 /utf8/validate/162
1192s ok 165 /utf8/validate/163
1192s ok 166 /utf8/validate/164
1192s ok 167 /utf8/validate/165
1192s ok 168 /utf8/validate/166
1192s ok 169 /utf8/validate/167
1192s ok 170 /utf8/validate/168
1192s ok 171 /utf8/validate/169
1192s ok 172 /utf8/validate/170
1192s ok 173 /utf8/validate/171
1192s ok 174 /utf8/validate/172
1192s ok 175 /utf8/validate/173
1192s ok 176 /utf8/validate/174
1192s ok 177 /utf8/validate/175
1192s ok 178 /utf8/validate/176
1192s ok 179 /utf8/validate/177
1192s ok 180 /utf8/validate/178
1192s ok 181 /utf8/validate/179
1192s ok 182 /utf8/validate/180
1192s ok 183 /utf8/validate/181
1192s ok 184 /utf8/validate/182
1192s ok 185 /utf8/validate/183
1192s ok 186 /utf8/validate/184
1192s ok 187 /utf8/validate/185
1192s ok 188 /utf8/validate/186
1192s ok 189 /utf8/validate/187
1192s ok 190 /utf8/validate/188
1192s ok 191 /utf8/validate/189
1192s ok 192 /utf8/validate/190
1192s ok 193 /utf8/validate/191
1192s ok 194 /utf8/validate/192
1192s ok 195 /utf8/validate/193
1192s ok 196 /utf8/validate/194
1192s ok 197 /utf8/validate/195
1192s ok 198 /utf8/validate/196
1192s ok 199 /utf8/validate/197
1192s ok 200 /utf8/validate/198
1192s ok 201 /utf8/validate/199
1192s ok 202 /utf8/validate/200
1192s ok 203 /utf8/validate/201
1192s ok 204 /utf8/validate/202
1192s ok 205 /utf8/validate/203
1192s ok 206 /utf8/validate/204
1192s ok 207 /utf8/validate/205
1192s ok 208 /utf8/validate/206
1192s ok 209 /utf8/validate/207
1192s ok 210 /utf8/validate/208
1192s ok 211 /utf8/validate/209
1192s ok 212 /utf8/validate/210
1192s ok 213 /utf8/validate/211
1192s ok 214 /utf8/validate/212
1192s ok 215 /utf8/validate/213
1192s ok 216 /utf8/validate/214
1192s ok 217 /utf8/validate/215
1192s ok 218 /utf8/validate/216
1192s ok 219 /utf8/validate/217
1192s ok 220 /utf8/validate/218
1192s ok 221 /utf8/validate/219
1192s ok 222 /utf8/validate/220
1192s ok 223 /utf8/validate/221
1192s ok 224 /utf8/validate/222
1192s ok 225 /utf8/validate/223
1192s ok 226 /utf8/validate/224
1192s ok 227 /utf8/validate/225
1192s ok 228 /utf8/validate/226
1192s ok 229 /utf8/validate/227
1192s ok 230 /utf8/validate/228
1192s ok 231 /utf8/validate/229
1192s ok 232 /utf8/validate/230
1192s ok 233 /utf8/validate/231
1192s ok 234 /utf8/validate/232
1192s ok 235 /utf8/validate/233
1192s ok 236 /utf8/validate/234
1192s ok 237 /utf8/validate/235
1192s ok 238 /utf8/validate/236
1192s # End of validate tests
1192s # End of utf8 tests
1192s ok - glib/utf8-validate.test
1192s # Running test: glib/gdbus-connection.test
1192s TAP version 14
1192s # random seed: R02Se4f7f80d18d647e2cfe5c639f883696b
1192s 1..9
1192s # Start of gdbus tests
1192s # Start of connection tests
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/bus-failure/.dirs/runtime
1192s ok 1 /gdbus/connection/bus-failure
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/basic/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 2 /gdbus/connection/basic
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/life-cycle/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 3 /gdbus/connection/life-cycle
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/send/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 4 /gdbus/connection/send
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signals/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 5 /gdbus/connection/signals
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/signal-match-rules/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 6 /gdbus/connection/signal-match-rules
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/filter/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 7 /gdbus/connection/filter
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/serials/.dirs/runtime
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 8 /gdbus/connection/serials
1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/home
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/cache
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/system-config2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/config
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/system-data2
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/data
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/state
1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_W33H22/gdbus/connection/cancel/.dirs/runtime
1192s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1192s ok 9 /gdbus/connection/cancel
1192s # End of connection tests
1192s # End of gdbus tests
1192s ok - glib/gdbus-connection.test
1192s # Running test: glib/onceinit.test
1192s TAP version 14
1192s # random seed: R02S46fa21accc5ff77999a7856b593eb2d3
1192s 1..1
1192s # Start of thread tests
1192s ok 1 /thread/onceinit
1192s # End of thread tests
1192s ok - glib/onceinit.test
1192s # Running test: glib/null-settings-backend.test
1192s TAP version 14
1192s # random seed: R02Saef775a4609e7b054403865890a629a9
1192s 1..1
1192s # Start of null-settings-backend tests
1192s ok 1 /null-settings-backend/extension-point-registered
1192s # End of null-settings-backend tests
1192s ok - glib/null-settings-backend.test
1192s # Running test: glib/memory-monitor-portal.test
1192s TAP version 13
1192s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available
1193s 1..1
1193s ok - glib/memory-monitor-portal.test
1193s # Running test: glib/g-file-info-filesystem-readonly.test
1193s TAP version 14
1193s # random seed: R02Sce3f53a7f562e7c9fd8eb9f2304ec85f
1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
1193s 1..2
1193s # Start of g-file-info-filesystem-readonly tests
1193s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
1193s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
1193s # End of g-file-info-filesystem-readonly tests
1193s ok - glib/g-file-info-filesystem-readonly.test
1193s # Running test: glib/gobject-query.py.test
1193s TAP version 13
1193s ok 1 __main__.TestGobjectQuery.test_froots
1193s # gobject-query: /usr/bin/gobject-query
1193s # tmpdir: /tmp/tmpcwvrmfm8
1193s # Running: ['/usr/bin/gobject-query', 'froots']
1193s # Return code: 0
1193s # Output:
1193s # ├void
1193s # ├GInterface
1193s # │ └GTypePlugin
1193s # ├gchar
1193s # ├guchar
1193s # ├gboolean
1193s # ├gint
1193s # ├guint
1193s # ├glong
1193s # ├gulong
1193s # ├gint64
1193s # ├guint64
1193s # ├GEnum
1193s # ├GFlags
1193s # ├gfloat
1193s # ├gdouble
1193s # ├gchararray
1193s # ├gpointer
1193s # │ └GType
1193s # ├GBoxed
1193s # │ └GValueArray
1193s # ├GParam
1193s # │ ├GParamChar
1193s # │ ├GParamUChar
1193s # │ ├GParamBoolean
1193s # │ ├GParamInt
1193s # │ ├GParamUInt
1193s # │ ├GParamLong
1193s # │ ├GParamULong
1193s # │ ├GParamInt64
1193s # │ ├GParamUInt64
1193s # │ ├GParamUnichar
1193s # │ ├GParamEnum
1193s # │ ├GParamFlags
1193s # │ ├GParamFloat
1193s # │ ├GParamDouble
1193s # │ ├GParamString
1193s # │ ├GParamParam
1193s # │ ├GParamBoxed
1193s # │ ├GParamPointer
1193s # │ ├GParamValueArray
1193s # │ ├GParamObject
1193s # │ ├GParamOverride
1193s # │ ├GParamGType
1193s # │ └GParamVariant
1193s # ├GObject
1193s # â””GVariant
1193s # Error:
1193s ok 2 __main__.TestGobjectQuery.test_help
1193s # gobject-query: /usr/bin/gobject-query
1193s # tmpdir: /tmp/tmpfepphgju
1193s # Running: ['/usr/bin/gobject-query', '--help']
1193s # Return code: 0
1193s # Output:
1193s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
1193s # -r specify root type
1193s # -n don't descend type tree
1193s # -h show help
1193s # -b specify indent string
1193s # -i specify incremental indent string
1193s # -s specify line spacing
1193s # qualifiers:
1193s # froots iterate over fundamental roots
1193s # tree print type tree
1193s # Error:
1193s ok 3 __main__.TestGobjectQuery.test_tree
1193s # gobject-query: /usr/bin/gobject-query
1193s # tmpdir: /tmp/tmp0agxpz4_
1193s # Running: ['/usr/bin/gobject-query', 'tree']
1193s # Return code: 0
1193s # Output:
1193s # GObject
1193s # Error:
1193s ok 4 __main__.TestGobjectQuery.test_version
1193s # gobject-query: /usr/bin/gobject-query
1193s # tmpdir: /tmp/tmp12dg0bus
1193s # Running: ['/usr/bin/gobject-query', '--version']
1193s # Return code: 0
1193s # Output:
1193s # 2.83.4
1193s # Error:
1193s 1..4
1193s ok - glib/gobject-query.py.test
1193s # Running test: glib/regex.test
1193s TAP version 14
1193s # random seed: R02S43ec46a3adf6a4d001cb8f59f4ec70a5
1193s 1..848
1193s # Start of regex tests
1193s ok 1 /regex/properties
1193s ok 2 /regex/class
1193s ok 3 /regex/lookahead
1193s ok 4 /regex/lookbehind
1193s ok 5 /regex/subpattern
1193s ok 6 /regex/condition
1193s ok 7 /regex/recursion
1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
1193s ok 8 /regex/multiline
1193s ok 9 /regex/explicit-crlf
1193s ok 10 /regex/max-lookbehind
1193s ok 11 /regex/compile-errors
1193s ok 12 /regex/jit-unsupported-matching
1193s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
1193s ok 13 /regex/unmatched-named-subpattern
1193s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
1193s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
1193s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
1193s ok 14 /regex/compiled-regex-after-jit-failure
1193s # Start of new tests
1193s ok 15 /regex/new/1
1193s ok 16 /regex/new/2
1193s ok 17 /regex/new/3
1193s ok 18 /regex/new/4
1193s ok 19 /regex/new/5
1193s ok 20 /regex/new/6
1193s ok 21 /regex/new/7
1193s ok 22 /regex/new/8
1193s ok 23 /regex/new/9
1193s ok 24 /regex/new/10
1193s ok 25 /regex/new/11
1193s ok 26 /regex/new/12
1193s ok 27 /regex/new/13
1193s ok 28 /regex/new/14
1193s ok 29 /regex/new/15
1193s ok 30 /regex/new/16
1193s ok 31 /regex/new/17
1193s ok 32 /regex/new/18
1193s ok 33 /regex/new/19
1193s ok 34 /regex/new/71
1193s ok 35 /regex/new/80
1193s ok 36 /regex/new/82
1193s # End of new tests
1193s # Start of new-check-flags tests
1193s ok 37 /regex/new-check-flags/20
1193s ok 38 /regex/new-check-flags/21
1193s ok 39 /regex/new-check-flags/22
1193s ok 40 /regex/new-check-flags/23
1193s ok 41 /regex/new-check-flags/24
1193s ok 42 /regex/new-check-flags/25
1193s ok 43 /regex/new-check-flags/26
1193s ok 44 /regex/new-check-flags/27
1193s ok 45 /regex/new-check-flags/28
1193s ok 46 /regex/new-check-flags/29
1193s ok 47 /regex/new-check-flags/30
1193s ok 48 /regex/new-check-flags/31
1193s ok 49 /regex/new-check-flags/32
1193s ok 50 /regex/new-check-flags/33
1193s ok 51 /regex/new-check-flags/34
1193s ok 52 /regex/new-check-flags/35
1193s ok 53 /regex/new-check-flags/36
1193s # End of new-check-flags tests
1193s # Start of new-fail tests
1193s ok 54 /regex/new-fail/37
1193s ok 55 /regex/new-fail/38
1193s ok 56 /regex/new-fail/39
1193s ok 57 /regex/new-fail/40
1193s ok 58 /regex/new-fail/41
1193s ok 59 /regex/new-fail/42
1193s ok 60 /regex/new-fail/43
1193s ok 61 /regex/new-fail/44
1193s ok 62 /regex/new-fail/45
1193s ok 63 /regex/new-fail/46
1193s ok 64 /regex/new-fail/47
1193s ok 65 /regex/new-fail/48
1193s ok 66 /regex/new-fail/49
1193s ok 67 /regex/new-fail/50
1193s ok 68 /regex/new-fail/51
1193s ok 69 /regex/new-fail/52
1193s ok 70 /regex/new-fail/53
1193s ok 71 /regex/new-fail/54
1193s ok 72 /regex/new-fail/55
1193s ok 73 /regex/new-fail/56
1193s ok 74 /regex/new-fail/57
1193s ok 75 /regex/new-fail/58
1193s ok 76 /regex/new-fail/59
1193s ok 77 /regex/new-fail/60
1193s ok 78 /regex/new-fail/61
1193s ok 79 /regex/new-fail/62
1193s ok 80 /regex/new-fail/63
1193s ok 81 /regex/new-fail/64
1193s ok 82 /regex/new-fail/65
1193s ok 83 /regex/new-fail/66
1193s ok 84 /regex/new-fail/67
1193s ok 85 /regex/new-fail/68
1193s ok 86 /regex/new-fail/69
1193s ok 87 /regex/new-fail/70
1193s ok 88 /regex/new-fail/72
1193s ok 89 /regex/new-fail/73
1193s ok 90 /regex/new-fail/74
1193s ok 91 /regex/new-fail/75
1193s ok 92 /regex/new-fail/76
1193s ok 93 /regex/new-fail/77
1193s ok 94 /regex/new-fail/78
1193s ok 95 /regex/new-fail/79
1193s ok 96 /regex/new-fail/81
1193s ok 97 /regex/new-fail/83
1193s ok 98 /regex/new-fail/84
1193s ok 99 /regex/new-fail/85
1193s ok 100 /regex/new-fail/86
1193s ok 101 /regex/new-fail/87
1193s ok 102 /regex/new-fail/88
1193s ok 103 /regex/new-fail/89
1193s ok 104 /regex/new-fail/90
1193s ok 105 /regex/new-fail/91
1193s # End of new-fail tests
1193s # Start of match-simple tests
1193s ok 106 /regex/match-simple/92
1193s ok 107 /regex/match-simple/93
1193s ok 108 /regex/match-simple/94
1193s ok 109 /regex/match-simple/95
1193s ok 110 /regex/match-simple/96
1193s ok 111 /regex/match-simple/97
1193s ok 112 /regex/match-simple/98
1193s ok 113 /regex/match-simple/99
1193s ok 114 /regex/match-simple/100
1193s ok 115 /regex/match-simple/101
1193s ok 116 /regex/match-simple/102
1193s ok 117 /regex/match-simple/103
1193s ok 118 /regex/match-simple/104
1193s ok 119 /regex/match-simple/105
1193s ok 120 /regex/match-simple/106
1193s ok 121 /regex/match-simple/107
1193s ok 122 /regex/match-simple/108
1193s ok 123 /regex/match-simple/109
1193s ok 124 /regex/match-simple/110
1193s ok 125 /regex/match-simple/111
1193s ok 126 /regex/match-simple/112
1193s ok 127 /regex/match-simple/113
1193s ok 128 /regex/match-simple/114
1193s ok 129 /regex/match-simple/115
1193s ok 130 /regex/match-simple/116
1193s ok 131 /regex/match-simple/117
1193s ok 132 /regex/match-simple/118
1193s ok 133 /regex/match-simple/119
1193s ok 134 /regex/match-simple/120
1193s ok 135 /regex/match-simple/121
1193s ok 136 /regex/match-simple/122
1193s ok 137 /regex/match-simple/123
1193s ok 138 /regex/match-simple/124
1193s ok 139 /regex/match-simple/125
1193s ok 140 /regex/match-simple/126
1193s ok 141 /regex/match-simple/127
1193s ok 142 /regex/match-simple/128
1193s ok 143 /regex/match-simple/129
1193s ok 144 /regex/match-simple/130
1193s ok 145 /regex/match-simple/131
1193s ok 146 /regex/match-simple/132
1193s ok 147 /regex/match-simple/133
1193s ok 148 /regex/match-simple/134
1193s ok 149 /regex/match-simple/135
1193s ok 150 /regex/match-simple/136
1193s ok 151 /regex/match-simple/137
1193s ok 152 /regex/match-simple/138
1193s ok 153 /regex/match-simple/139
1193s ok 154 /regex/match-simple/140
1193s ok 155 /regex/match-simple/141
1193s ok 156 /regex/match-simple/142
1193s ok 157 /regex/match-simple/143
1193s ok 158 /regex/match-simple/144
1193s ok 159 /regex/match-simple/145
1193s ok 160 /regex/match-simple/146
1193s ok 161 /regex/match-simple/147
1193s ok 162 /regex/match-simple/148
1193s ok 163 /regex/match-simple/149
1193s ok 164 /regex/match-simple/150
1193s ok 165 /regex/match-simple/151
1193s ok 166 /regex/match-simple/152
1193s ok 167 /regex/match-simple/153
1193s ok 168 /regex/match-simple/154
1193s ok 169 /regex/match-simple/155
1193s ok 170 /regex/match-simple/156
1193s ok 171 /regex/match-simple/157
1193s ok 172 /regex/match-simple/158
1193s ok 173 /regex/match-simple/159
1193s ok 174 /regex/match-simple/160
1193s ok 175 /regex/match-simple/161
1193s ok 176 /regex/match-simple/162
1193s ok 177 /regex/match-simple/163
1193s ok 178 /regex/match-simple/164
1193s # End of match-simple tests
1193s # Start of match-simple-optimized tests
1193s ok 179 /regex/match-simple-optimized/92
1193s ok 180 /regex/match-simple-optimized/93
1193s ok 181 /regex/match-simple-optimized/94
1193s ok 182 /regex/match-simple-optimized/95
1193s ok 183 /regex/match-simple-optimized/96
1193s ok 184 /regex/match-simple-optimized/97
1193s ok 185 /regex/match-simple-optimized/98
1193s ok 186 /regex/match-simple-optimized/99
1193s ok 187 /regex/match-simple-optimized/100
1193s ok 188 /regex/match-simple-optimized/101
1193s ok 189 /regex/match-simple-optimized/102
1193s ok 190 /regex/match-simple-optimized/103
1193s ok 191 /regex/match-simple-optimized/104
1193s ok 192 /regex/match-simple-optimized/105
1193s ok 193 /regex/match-simple-optimized/106
1193s ok 194 /regex/match-simple-optimized/107
1193s ok 195 /regex/match-simple-optimized/108
1193s ok 196 /regex/match-simple-optimized/109
1193s ok 197 /regex/match-simple-optimized/110
1193s ok 198 /regex/match-simple-optimized/111
1193s ok 199 /regex/match-simple-optimized/112
1193s ok 200 /regex/match-simple-optimized/113
1193s ok 201 /regex/match-simple-optimized/114
1193s ok 202 /regex/match-simple-optimized/115
1193s ok 203 /regex/match-simple-optimized/116
1193s ok 204 /regex/match-simple-optimized/117
1193s ok 205 /regex/match-simple-optimized/118
1193s ok 206 /regex/match-simple-optimized/119
1193s ok 207 /regex/match-simple-optimized/120
1193s ok 208 /regex/match-simple-optimized/121
1193s ok 209 /regex/match-simple-optimized/122
1193s ok 210 /regex/match-simple-optimized/123
1193s ok 211 /regex/match-simple-optimized/124
1193s ok 212 /regex/match-simple-optimized/125
1193s ok 213 /regex/match-simple-optimized/126
1193s ok 214 /regex/match-simple-optimized/127
1193s ok 215 /regex/match-simple-optimized/128
1193s ok 216 /regex/match-simple-optimized/129
1193s ok 217 /regex/match-simple-optimized/130
1193s ok 218 /regex/match-simple-optimized/131
1193s ok 219 /regex/match-simple-optimized/132
1193s ok 220 /regex/match-simple-optimized/133
1193s ok 221 /regex/match-simple-optimized/134
1193s ok 222 /regex/match-simple-optimized/135
1193s ok 223 /regex/match-simple-optimized/136
1193s ok 224 /regex/match-simple-optimized/137
1193s ok 225 /regex/match-simple-optimized/138
1193s ok 226 /regex/match-simple-optimized/139
1193s ok 227 /regex/match-simple-optimized/140
1193s ok 228 /regex/match-simple-optimized/141
1193s ok 229 /regex/match-simple-optimized/142
1193s ok 230 /regex/match-simple-optimized/143
1193s ok 231 /regex/match-simple-optimized/144
1193s ok 232 /regex/match-simple-optimized/145
1193s ok 233 /regex/match-simple-optimized/146
1193s ok 234 /regex/match-simple-optimized/147
1193s ok 235 /regex/match-simple-optimized/148
1193s ok 236 /regex/match-simple-optimized/149
1193s ok 237 /regex/match-simple-optimized/150
1193s ok 238 /regex/match-simple-optimized/151
1193s ok 239 /regex/match-simple-optimized/152
1193s ok 240 /regex/match-simple-optimized/153
1193s ok 241 /regex/match-simple-optimized/154
1193s ok 242 /regex/match-simple-optimized/155
1193s ok 243 /regex/match-simple-optimized/156
1193s ok 244 /regex/match-simple-optimized/157
1193s ok 245 /regex/match-simple-optimized/158
1193s ok 246 /regex/match-simple-optimized/159
1193s ok 247 /regex/match-simple-optimized/160
1193s ok 248 /regex/match-simple-optimized/161
1193s ok 249 /regex/match-simple-optimized/162
1193s ok 250 /regex/match-simple-optimized/163
1193s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
1193s ok 251 /regex/match-simple-optimized/164
1193s # End of match-simple-optimized tests
1193s # Start of match tests
1193s ok 252 /regex/match/165
1193s ok 253 /regex/match/166
1193s ok 254 /regex/match/167
1193s ok 255 /regex/match/168
1193s ok 256 /regex/match/169
1193s ok 257 /regex/match/170
1193s ok 258 /regex/match/171
1193s ok 259 /regex/match/172
1193s ok 260 /regex/match/173
1193s ok 261 /regex/match/174
1193s ok 262 /regex/match/175
1193s ok 263 /regex/match/176
1193s ok 264 /regex/match/177
1193s ok 265 /regex/match/178
1193s ok 266 /regex/match/179
1193s ok 267 /regex/match/180
1193s ok 268 /regex/match/181
1193s ok 269 /regex/match/182
1193s ok 270 /regex/match/183
1193s ok 271 /regex/match/184
1193s ok 272 /regex/match/185
1193s ok 273 /regex/match/186
1193s ok 274 /regex/match/187
1193s ok 275 /regex/match/188
1193s ok 276 /regex/match/189
1193s ok 277 /regex/match/190
1193s ok 278 /regex/match/191
1193s ok 279 /regex/match/192
1193s ok 280 /regex/match/193
1193s ok 281 /regex/match/194
1193s ok 282 /regex/match/195
1193s ok 283 /regex/match/196
1193s ok 284 /regex/match/197
1193s ok 285 /regex/match/198
1193s ok 286 /regex/match/199
1193s ok 287 /regex/match/200
1193s ok 288 /regex/match/201
1193s ok 289 /regex/match/202
1193s ok 290 /regex/match/203
1193s ok 291 /regex/match/204
1193s ok 292 /regex/match/205
1193s ok 293 /regex/match/206
1193s ok 294 /regex/match/207
1193s ok 295 /regex/match/208
1193s ok 296 /regex/match/209
1193s ok 297 /regex/match/210
1193s ok 298 /regex/match/211
1193s ok 299 /regex/match/212
1193s ok 300 /regex/match/213
1193s ok 301 /regex/match/214
1193s ok 302 /regex/match/215
1193s ok 303 /regex/match/216
1193s ok 304 /regex/match/217
1193s ok 305 /regex/match/218
1193s ok 306 /regex/match/219
1193s ok 307 /regex/match/220
1193s ok 308 /regex/match/221
1193s ok 309 /regex/match/222
1193s ok 310 /regex/match/223
1193s ok 311 /regex/match/224
1193s ok 312 /regex/match/225
1193s ok 313 /regex/match/226
1193s ok 314 /regex/match/227
1193s ok 315 /regex/match/228
1193s ok 316 /regex/match/229
1193s ok 317 /regex/match/230
1193s ok 318 /regex/match/231
1193s ok 319 /regex/match/232
1193s ok 320 /regex/match/233
1193s ok 321 /regex/match/234
1193s ok 322 /regex/match/235
1193s ok 323 /regex/match/236
1193s ok 324 /regex/match/237
1193s ok 325 /regex/match/238
1193s ok 326 /regex/match/239
1193s ok 327 /regex/match/240
1193s ok 328 /regex/match/241
1193s ok 329 /regex/match/242
1193s ok 330 /regex/match/243
1193s ok 331 /regex/match/244
1193s ok 332 /regex/match/245
1193s ok 333 /regex/match/246
1193s ok 334 /regex/match/partial281
1193s ok 335 /regex/match/partial282
1193s ok 336 /regex/match/partial283
1193s ok 337 /regex/match/partial284
1193s ok 338 /regex/match/partial285
1193s ok 339 /regex/match/partial286
1193s ok 340 /regex/match/partial287
1193s ok 341 /regex/match/partial288
1193s ok 342 /regex/match/partial289
1193s ok 343 /regex/match/partial290
1193s ok 344 /regex/match/partial291
1193s ok 345 /regex/match/partial292
1193s ok 346 /regex/match/partial293
1193s ok 347 /regex/match/partial294
1193s ok 348 /regex/match/partial295
1193s ok 349 /regex/match/partial296
1193s ok 350 /regex/match/partial297
1193s ok 351 /regex/match/partial298
1193s ok 352 /regex/match/partial299
1193s ok 353 /regex/match/partial300
1193s ok 354 /regex/match/partial301
1193s ok 355 /regex/match/partial302
1193s # Start of next0 tests
1193s ok 356 /regex/match/next0/247
1193s ok 357 /regex/match/next0/248
1193s ok 358 /regex/match/next0/249
1193s ok 359 /regex/match/next0/250
1193s # End of next0 tests
1193s # Start of next1 tests
1193s ok 360 /regex/match/next1/251
1193s ok 361 /regex/match/next1/252
1193s ok 362 /regex/match/next1/253
1193s ok 363 /regex/match/next1/254
1193s ok 364 /regex/match/next1/255
1193s # End of next1 tests
1193s # Start of next2 tests
1193s ok 365 /regex/match/next2/256
1193s ok 366 /regex/match/next2/257
1193s ok 367 /regex/match/next2/258
1193s ok 368 /regex/match/next2/259
1193s ok 369 /regex/match/next2/260
1193s ok 370 /regex/match/next2/261
1193s ok 371 /regex/match/next2/262
1193s ok 372 /regex/match/next2/263
1193s # End of next2 tests
1193s # Start of next3 tests
1193s ok 373 /regex/match/next3/264
1193s ok 374 /regex/match/next3/265
1193s ok 375 /regex/match/next3/266
1193s ok 376 /regex/match/next3/267
1193s ok 377 /regex/match/next3/268
1193s ok 378 /regex/match/next3/269
1193s # End of next3 tests
1193s # Start of next4 tests
1193s ok 379 /regex/match/next4/270
1193s # End of next4 tests
1193s # Start of count tests
1193s ok 380 /regex/match/count/271
1193s ok 381 /regex/match/count/272
1193s ok 382 /regex/match/count/273
1193s ok 383 /regex/match/count/274
1193s ok 384 /regex/match/count/275
1193s ok 385 /regex/match/count/276
1193s ok 386 /regex/match/count/277
1193s ok 387 /regex/match/count/278
1193s ok 388 /regex/match/count/279
1193s ok 389 /regex/match/count/280
1193s # End of count tests
1193s # Start of count-optimized tests
1193s ok 390 /regex/match/count-optimized/271
1193s ok 391 /regex/match/count-optimized/272
1193s ok 392 /regex/match/count-optimized/273
1193s ok 393 /regex/match/count-optimized/274
1193s ok 394 /regex/match/count-optimized/275
1193s ok 395 /regex/match/count-optimized/276
1193s ok 396 /regex/match/count-optimized/277
1193s ok 397 /regex/match/count-optimized/278
1193s ok 398 /regex/match/count-optimized/279
1193s ok 399 /regex/match/count-optimized/280
1193s # End of count-optimized tests
1193s # Start of partial-optimized tests
1193s ok 400 /regex/match/partial-optimized/281
1193s ok 401 /regex/match/partial-optimized/282
1193s ok 402 /regex/match/partial-optimized/283
1193s ok 403 /regex/match/partial-optimized/284
1193s ok 404 /regex/match/partial-optimized/285
1193s ok 405 /regex/match/partial-optimized/286
1193s ok 406 /regex/match/partial-optimized/287
1193s ok 407 /regex/match/partial-optimized/288
1193s ok 408 /regex/match/partial-optimized/289
1193s ok 409 /regex/match/partial-optimized/290
1193s ok 410 /regex/match/partial-optimized/291
1193s ok 411 /regex/match/partial-optimized/292
1193s ok 412 /regex/match/partial-optimized/293
1193s ok 413 /regex/match/partial-optimized/294
1193s ok 414 /regex/match/partial-optimized/295
1193s ok 415 /regex/match/partial-optimized/296
1193s ok 416 /regex/match/partial-optimized/297
1193s ok 417 /regex/match/partial-optimized/298
1193s ok 418 /regex/match/partial-optimized/299
1193s ok 419 /regex/match/partial-optimized/300
1193s ok 420 /regex/match/partial-optimized/301
1193s ok 421 /regex/match/partial-optimized/302
1193s # End of partial-optimized tests
1193s # Start of subpattern tests
1193s ok 422 /regex/match/subpattern/303
1193s ok 423 /regex/match/subpattern/304
1193s ok 424 /regex/match/subpattern/305
1193s ok 425 /regex/match/subpattern/306
1193s ok 426 /regex/match/subpattern/307
1193s ok 427 /regex/match/subpattern/308
1193s ok 428 /regex/match/subpattern/309
1193s ok 429 /regex/match/subpattern/310
1193s ok 430 /regex/match/subpattern/311
1193s ok 431 /regex/match/subpattern/312
1193s ok 432 /regex/match/subpattern/313
1193s ok 433 /regex/match/subpattern/314
1193s ok 434 /regex/match/subpattern/315
1193s # Start of named tests
1193s # Start of dupnames tests
1193s ok 435 /regex/match/subpattern/named/dupnames/325
1193s ok 436 /regex/match/subpattern/named/dupnames/326
1193s ok 437 /regex/match/subpattern/named/dupnames/327
1193s ok 438 /regex/match/subpattern/named/dupnames/328
1193s ok 439 /regex/match/subpattern/named/dupnames/329
1193s # End of dupnames tests
1193s # End of named tests
1193s # End of subpattern tests
1193s # Start of subpattern-optimized tests
1193s ok 440 /regex/match/subpattern-optimized/303
1193s ok 441 /regex/match/subpattern-optimized/304
1193s ok 442 /regex/match/subpattern-optimized/305
1193s ok 443 /regex/match/subpattern-optimized/306
1193s ok 444 /regex/match/subpattern-optimized/307
1193s ok 445 /regex/match/subpattern-optimized/308
1193s ok 446 /regex/match/subpattern-optimized/309
1193s ok 447 /regex/match/subpattern-optimized/310
1193s ok 448 /regex/match/subpattern-optimized/311
1193s ok 449 /regex/match/subpattern-optimized/312
1193s ok 450 /regex/match/subpattern-optimized/313
1193s ok 451 /regex/match/subpattern-optimized/314
1193s ok 452 /regex/match/subpattern-optimized/315
1193s # End of subpattern-optimized tests
1193s # Start of named tests
1193s # Start of subpattern tests
1193s ok 453 /regex/match/named/subpattern/316
1193s ok 454 /regex/match/named/subpattern/317
1193s ok 455 /regex/match/named/subpattern/318
1193s ok 456 /regex/match/named/subpattern/319
1193s ok 457 /regex/match/named/subpattern/320
1193s ok 458 /regex/match/named/subpattern/321
1193s ok 459 /regex/match/named/subpattern/322
1193s ok 460 /regex/match/named/subpattern/323
1193s ok 461 /regex/match/named/subpattern/324
1193s ok 462 /regex/match/named/subpattern/330
1193s ok 463 /regex/match/named/subpattern/331
1193s ok 464 /regex/match/named/subpattern/332
1193s ok 465 /regex/match/named/subpattern/333
1193s ok 466 /regex/match/named/subpattern/334
1193s # End of subpattern tests
1193s # End of named tests
1193s # End of match tests
1193s # Start of match-optimized tests
1193s ok 467 /regex/match-optimized/165
1193s ok 468 /regex/match-optimized/166
1193s ok 469 /regex/match-optimized/167
1193s ok 470 /regex/match-optimized/168
1193s ok 471 /regex/match-optimized/169
1193s ok 472 /regex/match-optimized/170
1193s ok 473 /regex/match-optimized/171
1193s ok 474 /regex/match-optimized/172
1193s ok 475 /regex/match-optimized/173
1193s ok 476 /regex/match-optimized/174
1193s ok 477 /regex/match-optimized/175
1193s ok 478 /regex/match-optimized/176
1193s ok 479 /regex/match-optimized/177
1193s ok 480 /regex/match-optimized/178
1193s ok 481 /regex/match-optimized/179
1193s ok 482 /regex/match-optimized/180
1193s ok 483 /regex/match-optimized/181
1193s ok 484 /regex/match-optimized/182
1193s ok 485 /regex/match-optimized/183
1193s ok 486 /regex/match-optimized/184
1193s ok 487 /regex/match-optimized/185
1193s ok 488 /regex/match-optimized/186
1193s ok 489 /regex/match-optimized/187
1193s ok 490 /regex/match-optimized/188
1193s ok 491 /regex/match-optimized/189
1193s ok 492 /regex/match-optimized/190
1193s ok 493 /regex/match-optimized/191
1193s ok 494 /regex/match-optimized/192
1193s ok 495 /regex/match-optimized/193
1193s ok 496 /regex/match-optimized/194
1193s ok 497 /regex/match-optimized/195
1193s ok 498 /regex/match-optimized/196
1193s ok 499 /regex/match-optimized/197
1193s ok 500 /regex/match-optimized/198
1193s ok 501 /regex/match-optimized/199
1193s ok 502 /regex/match-optimized/200
1193s ok 503 /regex/match-optimized/201
1193s ok 504 /regex/match-optimized/202
1193s ok 505 /regex/match-optimized/203
1193s ok 506 /regex/match-optimized/204
1193s ok 507 /regex/match-optimized/205
1193s ok 508 /regex/match-optimized/206
1193s ok 509 /regex/match-optimized/207
1193s ok 510 /regex/match-optimized/208
1193s ok 511 /regex/match-optimized/209
1193s ok 512 /regex/match-optimized/210
1193s ok 513 /regex/match-optimized/211
1193s ok 514 /regex/match-optimized/212
1193s ok 515 /regex/match-optimized/213
1193s ok 516 /regex/match-optimized/214
1193s ok 517 /regex/match-optimized/215
1193s ok 518 /regex/match-optimized/216
1193s ok 519 /regex/match-optimized/217
1193s ok 520 /regex/match-optimized/218
1193s ok 521 /regex/match-optimized/219
1193s ok 522 /regex/match-optimized/220
1193s ok 523 /regex/match-optimized/221
1193s ok 524 /regex/match-optimized/222
1193s ok 525 /regex/match-optimized/223
1193s ok 526 /regex/match-optimized/224
1193s ok 527 /regex/match-optimized/225
1193s ok 528 /regex/match-optimized/226
1193s ok 529 /regex/match-optimized/227
1193s ok 530 /regex/match-optimized/228
1193s ok 531 /regex/match-optimized/229
1193s ok 532 /regex/match-optimized/230
1193s ok 533 /regex/match-optimized/231
1193s ok 534 /regex/match-optimized/232
1193s ok 535 /regex/match-optimized/233
1193s ok 536 /regex/match-optimized/234
1193s ok 537 /regex/match-optimized/235
1193s ok 538 /regex/match-optimized/236
1193s ok 539 /regex/match-optimized/237
1193s ok 540 /regex/match-optimized/238
1193s ok 541 /regex/match-optimized/239
1193s ok 542 /regex/match-optimized/240
1193s ok 543 /regex/match-optimized/241
1193s ok 544 /regex/match-optimized/242
1193s ok 545 /regex/match-optimized/243
1193s ok 546 /regex/match-optimized/244
1193s ok 547 /regex/match-optimized/245
1193s ok 548 /regex/match-optimized/246
1193s # End of match-optimized tests
1193s # Start of fetch-all0 tests
1193s ok 549 /regex/fetch-all0/335
1193s ok 550 /regex/fetch-all0/336
1193s # End of fetch-all0 tests
1193s # Start of fetch-all1 tests
1193s ok 551 /regex/fetch-all1/337
1193s ok 552 /regex/fetch-all1/338
1193s ok 553 /regex/fetch-all1/339
1193s # End of fetch-all1 tests
1193s # Start of fetch-all2 tests
1193s ok 554 /regex/fetch-all2/340
1193s ok 555 /regex/fetch-all2/341
1193s ok 556 /regex/fetch-all2/342
1193s # End of fetch-all2 tests
1193s # Start of fetch-all3 tests
1193s ok 557 /regex/fetch-all3/343
1193s ok 558 /regex/fetch-all3/344
1193s ok 559 /regex/fetch-all3/345
1193s ok 560 /regex/fetch-all3/346
1193s ok 561 /regex/fetch-all3/347
1193s # End of fetch-all3 tests
1193s # Start of split tests
1193s # Start of simple0 tests
1193s ok 562 /regex/split/simple0/348
1193s ok 563 /regex/split/simple0/349
1193s ok 564 /regex/split/simple0/364
1193s ok 565 /regex/split/simple0/365
1193s # End of simple0 tests
1193s # Start of simple1 tests
1193s ok 566 /regex/split/simple1/350
1193s ok 567 /regex/split/simple1/351
1193s # End of simple1 tests
1193s # Start of simple2 tests
1193s ok 568 /regex/split/simple2/352
1193s ok 569 /regex/split/simple2/358
1193s ok 570 /regex/split/simple2/360
1193s # End of simple2 tests
1193s # Start of simple3 tests
1193s ok 571 /regex/split/simple3/353
1193s ok 572 /regex/split/simple3/354
1193s ok 573 /regex/split/simple3/355
1193s ok 574 /regex/split/simple3/356
1193s ok 575 /regex/split/simple3/357
1193s ok 576 /regex/split/simple3/359
1193s ok 577 /regex/split/simple3/361
1193s ok 578 /regex/split/simple3/362
1193s ok 579 /regex/split/simple3/363
1193s # End of simple3 tests
1193s # End of split tests
1193s # Start of split0 tests
1193s ok 580 /regex/split0/366
1193s ok 581 /regex/split0/368
1193s # End of split0 tests
1193s # Start of full-split0 tests
1193s ok 582 /regex/full-split0/367
1193s ok 583 /regex/full-split0/369
1193s ok 584 /regex/full-split0/370
1193s ok 585 /regex/full-split0/371
1193s ok 586 /regex/full-split0/372
1193s # End of full-split0 tests
1193s # Start of split1 tests
1193s ok 587 /regex/split1/373
1193s ok 588 /regex/split1/376
1193s # End of split1 tests
1193s # Start of full-split1 tests
1193s ok 589 /regex/full-split1/374
1193s ok 590 /regex/full-split1/375
1193s ok 591 /regex/full-split1/377
1193s ok 592 /regex/full-split1/378
1193s ok 593 /regex/full-split1/404
1193s # End of full-split1 tests
1193s # Start of split2 tests
1193s ok 594 /regex/split2/379
1193s ok 595 /regex/split2/383
1193s ok 596 /regex/split2/395
1193s # End of split2 tests
1193s # Start of full-split2 tests
1193s ok 597 /regex/full-split2/380
1193s ok 598 /regex/full-split2/381
1193s ok 599 /regex/full-split2/382
1193s ok 600 /regex/full-split2/384
1193s ok 601 /regex/full-split2/396
1193s ok 602 /regex/full-split2/399
1193s ok 603 /regex/full-split2/405
1193s # End of full-split2 tests
1193s # Start of split3 tests
1193s ok 604 /regex/split3/385
1193s ok 605 /regex/split3/387
1193s ok 606 /regex/split3/389
1193s ok 607 /regex/split3/391
1193s ok 608 /regex/split3/393
1193s ok 609 /regex/split3/397
1193s ok 610 /regex/split3/400
1193s ok 611 /regex/split3/402
1193s # End of split3 tests
1193s # Start of full-split3 tests
1193s ok 612 /regex/full-split3/386
1193s ok 613 /regex/full-split3/388
1193s ok 614 /regex/full-split3/390
1193s ok 615 /regex/full-split3/392
1193s ok 616 /regex/full-split3/394
1193s ok 617 /regex/full-split3/398
1193s ok 618 /regex/full-split3/401
1193s ok 619 /regex/full-split3/403
1193s ok 620 /regex/full-split3/406
1193s ok 621 /regex/full-split3/407
1193s # End of full-split3 tests
1193s # Start of check-repacement tests
1193s ok 622 /regex/check-repacement/408
1193s ok 623 /regex/check-repacement/409
1193s ok 624 /regex/check-repacement/410
1193s ok 625 /regex/check-repacement/411
1193s ok 626 /regex/check-repacement/412
1193s ok 627 /regex/check-repacement/413
1193s ok 628 /regex/check-repacement/414
1193s ok 629 /regex/check-repacement/415
1193s # End of check-repacement tests
1193s # Start of expand tests
1193s ok 630 /regex/expand/416
1193s ok 631 /regex/expand/417
1193s ok 632 /regex/expand/418
1193s ok 633 /regex/expand/419
1193s ok 634 /regex/expand/420
1193s ok 635 /regex/expand/421
1193s ok 636 /regex/expand/422
1193s ok 637 /regex/expand/423
1193s ok 638 /regex/expand/424
1193s ok 639 /regex/expand/425
1193s ok 640 /regex/expand/426
1193s ok 641 /regex/expand/427
1193s ok 642 /regex/expand/428
1193s ok 643 /regex/expand/429
1193s ok 644 /regex/expand/430
1193s ok 645 /regex/expand/431
1193s ok 646 /regex/expand/432
1193s ok 647 /regex/expand/433
1193s ok 648 /regex/expand/434
1193s ok 649 /regex/expand/435
1193s ok 650 /regex/expand/436
1193s ok 651 /regex/expand/437
1193s ok 652 /regex/expand/438
1193s ok 653 /regex/expand/439
1193s ok 654 /regex/expand/440
1193s ok 655 /regex/expand/441
1193s ok 656 /regex/expand/442
1193s ok 657 /regex/expand/443
1193s ok 658 /regex/expand/444
1193s ok 659 /regex/expand/445
1193s ok 660 /regex/expand/446
1193s ok 661 /regex/expand/447
1193s ok 662 /regex/expand/448
1193s ok 663 /regex/expand/449
1193s ok 664 /regex/expand/450
1193s ok 665 /regex/expand/451
1193s ok 666 /regex/expand/452
1193s ok 667 /regex/expand/453
1193s ok 668 /regex/expand/454
1193s ok 669 /regex/expand/455
1193s ok 670 /regex/expand/456
1193s ok 671 /regex/expand/457
1193s ok 672 /regex/expand/458
1193s ok 673 /regex/expand/459
1193s ok 674 /regex/expand/460
1193s ok 675 /regex/expand/461
1193s ok 676 /regex/expand/462
1193s ok 677 /regex/expand/463
1193s ok 678 /regex/expand/464
1193s ok 679 /regex/expand/465
1193s ok 680 /regex/expand/466
1193s ok 681 /regex/expand/467
1193s ok 682 /regex/expand/468
1193s ok 683 /regex/expand/469
1193s ok 684 /regex/expand/470
1193s ok 685 /regex/expand/471
1193s ok 686 /regex/expand/472
1193s ok 687 /regex/expand/473
1193s ok 688 /regex/expand/474
1193s ok 689 /regex/expand/475
1193s ok 690 /regex/expand/476
1193s ok 691 /regex/expand/477
1193s ok 692 /regex/expand/478
1193s ok 693 /regex/expand/479
1193s ok 694 /regex/expand/480
1193s ok 695 /regex/expand/481
1193s # End of expand tests
1193s # Start of replace tests
1193s ok 696 /regex/replace/482
1193s ok 697 /regex/replace/483
1193s ok 698 /regex/replace/484
1193s ok 699 /regex/replace/485
1193s ok 700 /regex/replace/486
1193s ok 701 /regex/replace/487
1193s ok 702 /regex/replace/488
1193s ok 703 /regex/replace/489
1193s ok 704 /regex/replace/490
1193s ok 705 /regex/replace/491
1193s ok 706 /regex/replace/492
1193s ok 707 /regex/replace/493
1193s ok 708 /regex/replace/494
1193s ok 709 /regex/replace/495
1193s ok 710 /regex/replace/496
1193s ok 711 /regex/replace/497
1193s ok 712 /regex/replace/498
1193s ok 713 /regex/replace/499
1193s ok 714 /regex/replace/500
1193s ok 715 /regex/replace/501
1193s ok 716 /regex/replace/502
1193s ok 717 /regex/replace/503
1193s ok 718 /regex/replace/504
1193s ok 719 /regex/replace/505
1193s ok 720 /regex/replace/506
1193s ok 721 /regex/replace/507
1193s ok 722 /regex/replace/508
1193s ok 723 /regex/replace/509
1193s # End of replace tests
1193s # Start of replace-optimized tests
1193s ok 724 /regex/replace-optimized/482
1193s ok 725 /regex/replace-optimized/483
1193s ok 726 /regex/replace-optimized/484
1193s ok 727 /regex/replace-optimized/485
1193s ok 728 /regex/replace-optimized/486
1193s ok 729 /regex/replace-optimized/487
1193s ok 730 /regex/replace-optimized/488
1193s ok 731 /regex/replace-optimized/489
1193s ok 732 /regex/replace-optimized/490
1193s ok 733 /regex/replace-optimized/491
1193s ok 734 /regex/replace-optimized/492
1193s ok 735 /regex/replace-optimized/493
1193s ok 736 /regex/replace-optimized/494
1193s ok 737 /regex/replace-optimized/495
1193s ok 738 /regex/replace-optimized/496
1193s ok 739 /regex/replace-optimized/497
1193s ok 740 /regex/replace-optimized/498
1193s ok 741 /regex/replace-optimized/499
1193s ok 742 /regex/replace-optimized/500
1193s ok 743 /regex/replace-optimized/501
1193s ok 744 /regex/replace-optimized/502
1193s ok 745 /regex/replace-optimized/503
1193s ok 746 /regex/replace-optimized/504
1193s ok 747 /regex/replace-optimized/505
1193s ok 748 /regex/replace-optimized/506
1193s ok 749 /regex/replace-optimized/507
1193s ok 750 /regex/replace-optimized/508
1193s ok 751 /regex/replace-optimized/509
1193s # End of replace-optimized tests
1193s # Start of replace-literally tests
1193s ok 752 /regex/replace-literally/510
1193s ok 753 /regex/replace-literally/511
1193s ok 754 /regex/replace-literally/512
1193s ok 755 /regex/replace-literally/513
1193s ok 756 /regex/replace-literally/514
1193s ok 757 /regex/replace-literally/515
1193s ok 758 /regex/replace-literally/516
1193s ok 759 /regex/replace-literally/517
1193s ok 760 /regex/replace-literally/518
1193s ok 761 /regex/replace-literally/519
1193s ok 762 /regex/replace-literally/520
1193s ok 763 /regex/replace-literally/521
1193s ok 764 /regex/replace-literally/522
1193s ok 765 /regex/replace-literally/523
1193s ok 766 /regex/replace-literally/524
1193s ok 767 /regex/replace-literally/525
1193s ok 768 /regex/replace-literally/526
1193s ok 769 /regex/replace-literally/527
1193s ok 770 /regex/replace-literally/528
1193s ok 771 /regex/replace-literally/529
1193s # End of replace-literally tests
1193s # Start of string-number tests
1193s ok 772 /regex/string-number/530
1193s ok 773 /regex/string-number/531
1193s ok 774 /regex/string-number/532
1193s ok 775 /regex/string-number/533
1193s ok 776 /regex/string-number/534
1193s ok 777 /regex/string-number/535
1193s ok 778 /regex/string-number/536
1193s ok 779 /regex/string-number/537
1193s ok 780 /regex/string-number/538
1193s ok 781 /regex/string-number/539
1193s ok 782 /regex/string-number/540
1193s ok 783 /regex/string-number/541
1193s ok 784 /regex/string-number/542
1193s ok 785 /regex/string-number/543
1193s ok 786 /regex/string-number/544
1193s # End of string-number tests
1193s # Start of escape_nul tests
1193s ok 787 /regex/escape_nul/545
1193s ok 788 /regex/escape_nul/546
1193s ok 789 /regex/escape_nul/547
1193s ok 790 /regex/escape_nul/548
1193s ok 791 /regex/escape_nul/549
1193s ok 792 /regex/escape_nul/550
1193s ok 793 /regex/escape_nul/551
1193s ok 794 /regex/escape_nul/552
1193s ok 795 /regex/escape_nul/553
1193s ok 796 /regex/escape_nul/554
1193s ok 797 /regex/escape_nul/555
1193s ok 798 /regex/escape_nul/556
1193s ok 799 /regex/escape_nul/557
1193s ok 800 /regex/escape_nul/558
1193s ok 801 /regex/escape_nul/559
1193s # End of escape_nul tests
1193s # Start of escape tests
1193s ok 802 /regex/escape/560
1193s ok 803 /regex/escape/561
1193s ok 804 /regex/escape/562
1193s ok 805 /regex/escape/563
1193s ok 806 /regex/escape/564
1193s ok 807 /regex/escape/565
1193s ok 808 /regex/escape/566
1193s ok 809 /regex/escape/567
1193s ok 810 /regex/escape/568
1193s ok 811 /regex/escape/569
1193s ok 812 /regex/escape/570
1193s ok 813 /regex/escape/571
1193s ok 814 /regex/escape/572
1193s ok 815 /regex/escape/573
1193s ok 816 /regex/escape/574
1193s ok 817 /regex/escape/575
1193s ok 818 /regex/escape/576
1193s ok 819 /regex/escape/577
1193s # End of escape tests
1193s # Start of match-all0 tests
1193s ok 820 /regex/match-all0/578
1193s ok 821 /regex/match-all0/580
1193s # End of match-all0 tests
1193s # Start of match-all-full0 tests
1193s ok 822 /regex/match-all-full0/579
1193s ok 823 /regex/match-all-full0/581
1193s ok 824 /regex/match-all-full0/582
1193s ok 825 /regex/match-all-full0/583
1193s # End of match-all-full0 tests
1193s # Start of match-all1 tests
1193s ok 826 /regex/match-all1/584
1193s ok 827 /regex/match-all1/586
1193s ok 828 /regex/match-all1/591
1193s # End of match-all1 tests
1193s # Start of match-all-full1 tests
1193s ok 829 /regex/match-all-full1/585
1193s ok 830 /regex/match-all-full1/587
1193s ok 831 /regex/match-all-full1/588
1193s ok 832 /regex/match-all-full1/589
1193s ok 833 /regex/match-all-full1/590
1193s ok 834 /regex/match-all-full1/592
1193s # End of match-all-full1 tests
1193s # Start of match-all2 tests
1193s ok 835 /regex/match-all2/593
1193s ok 836 /regex/match-all2/595
1193s ok 837 /regex/match-all2/597
1193s # End of match-all2 tests
1193s # Start of match-all-full2 tests
1193s ok 838 /regex/match-all-full2/594
1193s ok 839 /regex/match-all-full2/596
1193s ok 840 /regex/match-all-full2/598
1193s # End of match-all-full2 tests
1193s # Start of match-all3 tests
1193s ok 841 /regex/match-all3/599
1193s ok 842 /regex/match-all3/601
1193s # End of match-all3 tests
1193s # Start of match-all-full3 tests
1193s ok 843 /regex/match-all-full3/600
1193s ok 844 /regex/match-all-full3/602
1193s # End of match-all-full3 tests
1193s # Start of match-notempty tests
1193s ok 845 /regex/match-notempty/603
1193s # End of match-notempty tests
1193s # Start of match-notempty-optimized tests
1193s ok 846 /regex/match-notempty-optimized/603
1193s # End of match-notempty-optimized tests
1193s # Start of match-notempty-atstart tests
1193s ok 847 /regex/match-notempty-atstart/604
1193s # End of match-notempty-atstart tests
1193s # Start of match-notempty-atstart-optimized tests
1193s ok 848 /regex/match-notempty-atstart-optimized/604
1193s # End of match-notempty-atstart-optimized tests
1193s # End of regex tests
1193s ok - glib/regex.test
1193s # Running test: glib/static-link.test
1193s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
1193s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
1193s and make sure you have glib build dependencies installed, including
1193s meson.
1193s ok # SKIP - glib/static-link.test
1193s # Running test: glib/atomic-c-17.test
1193s TAP version 14
1193s # random seed: R02S2812162c23dfe81484c5b79ba0237f22
1193s 1..2
1193s # Start of atomic tests
1193s ok 1 /atomic/types
1193s ok 2 /atomic/threaded
1193s # End of atomic tests
1193s ok - glib/atomic-c-17.test
1193s # Running test: glib/gdbus-close-pending.test
1193s TAP version 14
1193s # random seed: R02S6a77efcd48ede5523749a029fa83b164
1193s 1..2
1193s # Start of gdbus tests
1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/home
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/cache
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/system-config2
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/config
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/system-data2
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/data
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/state
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_EYXI22/gdbus/close-pending/.dirs/runtime
1193s ok 1 /gdbus/close-pending
1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/home
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/cache
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/system-config2
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/config
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/system-data2
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/data
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/state
1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_EYXI22/gdbus/unref-pending/.dirs/runtime
1193s # Executing: glib/gdbus-close-pending.test
1194s ok 2 /gdbus/unref-pending
1194s # End of gdbus tests
1194s ok - glib/gdbus-close-pending.test
1194s # Running test: glib/defaultiface.test
1194s TAP version 14
1194s # random seed: R02Sae9775bbcf31801b3a99a8e52c3ca73e
1194s 1..2
1194s # Start of gobject tests
1194s ok 1 /gobject/static-iface
1194s ok 2 /gobject/dynamic-iface
1194s # End of gobject tests
1194s ok - glib/defaultiface.test
1194s # Running test: glib/value.test
1194s TAP version 14
1194s # random seed: R02S3a1ea6861e1659565aa54ff9b5b259a9
1194s 1..9
1194s # Start of value tests
1194s ok 1 /value/basic
1194s ok 2 /value/collection
1194s ok 3 /value/copying
1194s ok 4 /value/enum-transformation
1194s ok 5 /value/gtype
1194s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
1194s ok 6 /value/string
1194s # Next: GObject object in GValue of GObject to GValue of GObject
1194s # Next: GObject object in GValue of GObject to GValue of TestInterface
1194s # Next: GObject object in GValue of GObject to GValue of TestObjectA
1194s # Next: GObject object in GValue of GObject to GValue of TestObjectB
1194s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
1194s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
1194s # Next: TestObjectA object in GValue of GObject to GValue of GObject
1194s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
1194s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
1194s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
1194s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
1194s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
1194s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
1194s # Next: TestObjectB object in GValue of GObject to GValue of GObject
1194s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
1194s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
1194s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
1194s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
1194s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
1194s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
1194s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
1194s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
1194s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
1194s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
1194s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
1194s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
1194s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
1194s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
1194s ok 7 /value/transform-object
1194s # Start of array tests
1194s ok 8 /value/array/basic
1194s ok 9 /value/array/sort-with-data
1194s # End of array tests
1194s # End of value tests
1194s ok - glib/value.test
1194s # Running test: glib/utf8-performance.test
1194s TAP version 14
1194s # random seed: R02Scf89dede5df18e78615b767f36dda270
1194s 1..36
1194s # Start of utf8 tests
1194s # Start of perf tests
1194s # Start of get_char tests
1194s # max perf: 43.0 MB/s
1194s ok 1 /utf8/perf/get_char/ascii
1194s # max perf: 67.0 MB/s
1194s ok 2 /utf8/perf/get_char/latin1
1194s # max perf: 160.0 MB/s
1194s ok 3 /utf8/perf/get_char/cyrillic
1194s # max perf: 156.0 MB/s
1194s ok 4 /utf8/perf/get_char/han
1194s # End of get_char tests
1194s # Start of get_char-backwards tests
1194s # max perf: inf MB/s
1194s ok 5 /utf8/perf/get_char-backwards/ascii
1194s # max perf: 67.0 MB/s
1194s ok 6 /utf8/perf/get_char-backwards/latin1
1194s # max perf: 160.0 MB/s
1194s ok 7 /utf8/perf/get_char-backwards/cyrillic
1194s # max perf: 156.0 MB/s
1194s ok 8 /utf8/perf/get_char-backwards/han
1194s # End of get_char-backwards tests
1194s # Start of get_char_validated tests
1194s # max perf: 43.0 MB/s
1194s ok 9 /utf8/perf/get_char_validated/ascii
1194s # max perf: 67.0 MB/s
1194s ok 10 /utf8/perf/get_char_validated/latin1
1194s # max perf: 160.0 MB/s
1194s ok 11 /utf8/perf/get_char_validated/cyrillic
1194s # max perf: 156.0 MB/s
1194s ok 12 /utf8/perf/get_char_validated/han
1194s # End of get_char_validated tests
1194s # Start of utf8_to_ucs4 tests
1194s # max perf: 21.5 MB/s
1194s ok 13 /utf8/perf/utf8_to_ucs4/ascii
1194s # max perf: 67.0 MB/s
1194s ok 14 /utf8/perf/utf8_to_ucs4/latin1
1194s # max perf: 22.9 MB/s
1194s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
1194s # max perf: 31.2 MB/s
1194s ok 16 /utf8/perf/utf8_to_ucs4/han
1194s # End of utf8_to_ucs4 tests
1194s # Start of utf8_to_ucs4-sized tests
1194s # max perf: 8.6 MB/s
1194s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
1194s # max perf: 67.0 MB/s
1194s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
1194s # max perf: 80.0 MB/s
1194s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
1194s # max perf: 156.0 MB/s
1194s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
1194s # End of utf8_to_ucs4-sized tests
1194s # Start of utf8_to_ucs4_fast tests
1194s # max perf: 43.0 MB/s
1194s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
1194s # max perf: inf MB/s
1194s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
1194s # max perf: 160.0 MB/s
1194s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
1194s # max perf: inf MB/s
1194s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
1194s # End of utf8_to_ucs4_fast tests
1194s # Start of utf8_to_ucs4_fast-sized tests
1194s # max perf: 43.0 MB/s
1194s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
1194s # max perf: 67.0 MB/s
1194s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
1194s # max perf: 80.0 MB/s
1194s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
1194s # max perf: inf MB/s
1194s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
1194s # End of utf8_to_ucs4_fast-sized tests
1194s # Start of utf8_validate tests
1194s # max perf: inf MB/s
1194s ok 29 /utf8/perf/utf8_validate/ascii
1194s # max perf: inf MB/s
1194s ok 30 /utf8/perf/utf8_validate/latin1
1194s # max perf: 160.0 MB/s
1194s ok 31 /utf8/perf/utf8_validate/cyrillic
1194s # max perf: inf MB/s
1194s ok 32 /utf8/perf/utf8_validate/han
1194s # End of utf8_validate tests
1194s # Start of utf8_validate-sized tests
1194s # max perf: inf MB/s
1194s ok 33 /utf8/perf/utf8_validate-sized/ascii
1194s # max perf: inf MB/s
1194s ok 34 /utf8/perf/utf8_validate-sized/latin1
1194s # max perf: 160.0 MB/s
1194s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
1194s # max perf: inf MB/s
1194s ok 36 /utf8/perf/utf8_validate-sized/han
1194s # End of utf8_validate-sized tests
1194s # End of perf tests
1194s # End of utf8 tests
1194s ok - glib/utf8-performance.test
1194s # Running test: glib/tls-interaction.test
1194s TAP version 14
1194s # random seed: R02Sc401cebd8a1071454cac4de1a05b308e
1194s 1..42
1194s # Start of tls-interaction tests
1194s # Start of ask-password tests
1194s # Start of invoke-with-loop tests
1194s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
1194s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
1194s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
1194s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
1194s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
1194s # End of invoke-with-loop tests
1194s # Start of invoke-without-loop tests
1194s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
1194s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
1194s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
1194s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
1194s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
1194s # End of invoke-without-loop tests
1194s # Start of invoke-in-loop tests
1194s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
1194s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
1194s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
1194s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
1194s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
1194s # End of invoke-in-loop tests
1194s # Start of sync tests
1194s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
1194s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
1194s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
1194s # End of sync tests
1194s # Start of async tests
1194s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
1194s ok 20 /tls-interaction/ask-password/async/async-implementation-success
1194s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
1194s # End of async tests
1194s # End of ask-password tests
1194s # Start of request-certificate tests
1194s # Start of invoke-with-loop tests
1194s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
1194s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
1194s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
1194s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
1194s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
1194s # End of invoke-with-loop tests
1194s # Start of invoke-without-loop tests
1194s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
1194s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
1194s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
1194s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
1194s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
1194s # End of invoke-without-loop tests
1194s # Start of invoke-in-loop tests
1194s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
1194s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
1194s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
1194s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
1194s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
1194s # End of invoke-in-loop tests
1194s # Start of sync tests
1194s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
1194s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
1194s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
1194s # End of sync tests
1194s # Start of async tests
1194s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
1194s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
1194s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
1194s # End of async tests
1194s # End of request-certificate tests
1194s # End of tls-interaction tests
1194s ok - glib/tls-interaction.test
1194s # Running test: glib/cxx-2b.test
1194s TAP version 14
1194s # random seed: R02Saca1fd63cad8c7e15e5dc66647b8f537
1194s 1..2
1194s # Start of gtask tests
1194s # 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.
1194s ok 1 /gtask/name
1194s # Start of name tests
1194s # 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.
1194s ok 2 /gtask/name/macro-wrapper
1194s # End of name tests
1194s # End of gtask tests
1194s ok - glib/cxx-2b.test
1194s # Running test: glib/relation.test
1194s TAP version 14
1194s # random seed: R02Sd3efcef416dfcc97bfe7d0dcf2a2eb62
1194s 1..1
1194s # Start of glib tests
1194s ok 1 /glib/relation
1194s # End of glib tests
1194s ok - glib/relation.test
1194s # Running test: glib/portal-support-snap.test
1194s TAP version 14
1194s # random seed: R02Se91f7275e2fc45982b15415bd0b2cdf8
1194s 1..7
1194s # Start of portal-support tests
1194s # Start of snap tests
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/no-snapctl: No such file or directory
1194s ok 1 /portal-support/snap/no-snapctl
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/none: No such file or directory
1194s ok 2 /portal-support/snap/none
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/all: No such file or directory
1194s ok 3 /portal-support/snap/all
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/desktop-only: No such file or directory
1194s ok 4 /portal-support/snap/desktop-only
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/network-only: No such file or directory
1194s ok 5 /portal-support/snap/network-only
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/gsettings-only: No such file or directory
1194s ok 6 /portal-support/snap/gsettings-only
1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/home
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/cache
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/system-config2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/config
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/system-data2
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/data
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/state
1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime
1194s # Created snap.yaml in /tmp/test_portal-support-snap_WOGD22/meta/snap.yaml
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s # Created snapctl in /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22/portal-support/snap/updates-dynamically: No such file or directory
1194s ok 7 /portal-support/snap/updates-dynamically
1194s # End of snap tests
1194s # End of portal-support tests
1194s Unable to clean up temporary directory /tmp/test_portal-support-snap_WOGD22: No such file or directory
1194s ok - glib/portal-support-snap.test
1194s # Running test: glib/once.test
1194s TAP version 14
1194s # random seed: R02S0a860695063919b71e23299531c1e553
1194s 1..5
1194s # Start of once tests
1194s # /once/single-threaded summary: Test g_once() usage from a single thread
1194s ok 1 /once/single-threaded
1194s # /once/multi-threaded summary: Test g_once() usage from multiple threads
1194s ok 2 /once/multi-threaded
1194s # End of once tests
1194s # Start of once-init tests
1194s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
1194s ok 3 /once-init/single-threaded
1194s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
1194s ok 4 /once-init/multi-threaded
1194s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
1194s ok 5 /once-init/string
1194s # End of once-init tests
1194s ok - glib/once.test
1194s # Running test: glib/bitlock.test
1194s TAP version 14
1194s # random seed: R02Sb0def828038c16e7959897ef943d53d1
1194s 1..1
1194s # Start of bitlock tests
1194s # Start of performance tests
1194s # max perf: iterations per second
1194s ok 1 /bitlock/performance/uncontended
1194s # End of performance tests
1194s # End of bitlock tests
1194s ok - glib/bitlock.test
1194s # Running test: glib/closure-refcount.test
1194s TAP version 14
1194s # random seed: R02S088f659560c2bc68d3695459782f0ded
1194s 1..1
1194s # Start of closure tests
1194s # Init 0x1e4327f8eed0
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from thread2
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from thread1
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from thread2
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from main thread
1194s # Yielding from thread1
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread2
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread1
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread2
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread1
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread2
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from main thread
1195s # Yielding from thread1
1195s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from thread2
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from thread1
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from thread2
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from thread2
1196s # Yielding from thread1
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1196s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from thread2
1197s # Yielding from thread1
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from thread2
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from thread1
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from thread2
1197s # Yielding from main thread
1197s # Yielding from thread1
1197s # Yielding from main thread
1197s # Yielding from main thread
1197s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from thread2
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from thread1
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from thread2
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from thread1
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from thread2
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Yielding from main thread
1198s # Executing: glib/closure-refcount.test
1198s # Yielding from thread1
1198s # Yielding from main thread
1198s # Yielding from main thread
1199s # Yielding from main thread
1199s # Yielding from thread2
1199s # Yielding from main thread
1199s # Yielding from main thread
1199s # Yielding from main thread
1199s # Yielding from thread1
1199s # Yielding from main thread
1199s # Yielding from main thread
1199s # Yielding from main thread
1199s # Yielding from thread2
1199s # Stopping
1199s # Stopped
1199s ok 1 /closure/refcount
1199s # slow test /closure/refcount executed in 5.28 secs
1199s # End of closure tests
1199s ok - glib/closure-refcount.test
1199s # Running test: glib/mount-operation.test
1199s TAP version 14
1199s # random seed: R02S8ee2fd938dddd5290c051c837f13fd37
1199s 1..2
1199s # Start of mount-operation tests
1199s ok 1 /mount-operation/construction
1199s ok 2 /mount-operation/properties
1199s # End of mount-operation tests
1199s ok - glib/mount-operation.test
1199s # Running test: glib/io-stream.test
1199s TAP version 14
1199s # random seed: R02S9279ddbd47be6d3530eb715a29300f34
1199s 1..3
1199s # Start of io-stream tests
1199s ok 1 /io-stream/copy-chunks
1199s # Start of close tests
1199s # Start of async tests
1199s ok 2 /io-stream/close/async/memory
1199s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1199s ok 3 /io-stream/close/async/file
1199s # End of async tests
1199s # End of close tests
1199s # End of io-stream tests
1199s ok - glib/io-stream.test
1199s # Running test: glib/642026-ec.test
1199s TAP version 14
1199s # random seed: R02S09784b8e28a6a6e4649a22e6e7f7aa30
1199s 1..1
1199s # Start of glib tests
1199s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
1199s ok 1 /glib/642026
1199s # End of glib tests
1199s ok - glib/642026-ec.test
1199s # Running test: glib/init.test
1199s TAP version 14
1199s # random seed: R02Sacf446779e89d8516ca560235f604c62
1199s 1..2
1199s # Start of thread tests
1199s # Start of deprecated tests
1199s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/home
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/cache
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_SEPK22/thread/deprecated/init/.dirs/system-config2
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/config
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_SEPK22/thread/deprecated/init/.dirs/system-data2
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/data
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/state
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_SEPK22/thread/deprecated/init/.dirs/runtime
1199s ok 1 /thread/deprecated/init
1199s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_SEPK22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
1199s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
1199s # End of deprecated tests
1199s # End of thread tests
1199s ok - glib/init.test
1199s # Running test: glib/thread-deprecated.test
1199s TAP version 14
1199s # random seed: R02S92897f088370fe25cf7ccafe2354d0c0
1199s 1..6
1199s # Start of thread tests
1199s ok 1 /thread/mutex
1200s ok 2 /thread/static-rec-mutex
1203s # Executing: glib/thread-deprecated.test
1204s ok 3 /thread/static-private
1204s # slow test /thread/static-private executed in 4.40 secs
1208s # Executing: glib/thread-deprecated.test
1209s ok 4 /thread/static-rw-lock
1209s # slow test /thread/static-rw-lock executed in 5.00 secs
1209s ok 5 /thread/once
1213s # Executing: glib/thread-deprecated.test
1218s # Executing: glib/thread-deprecated.test
1219s ok 6 /thread/rerun-all
1219s # slow test /thread/rerun-all executed in 10.02 secs
1219s # End of thread tests
1219s ok - glib/thread-deprecated.test
1219s # Running test: glib/gdbus-threading.test
1219s TAP version 14
1219s # random seed: R02S7906fe4cec6ee699e6eb7cdb6754d179
1219s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
1219s ok - glib/gdbus-threading.test
1219s # Running test: glib/mimeapps.test
1219s TAP version 14
1219s # random seed: R02Se49055736cd765c7fa149382248bb7da
1219s 1..7
1219s # Start of appinfo tests
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/all/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/all/.dirs/data/applications/mimeinfo.cache'
1219s ok 1 /appinfo/all
1219s # Start of mime tests
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/all/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config
1219s ok 2 /appinfo/mime/api
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config
1219s ok 3 /appinfo/mime/default
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config
1219s ok 4 /appinfo/mime/file
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/config
1219s ok 5 /appinfo/mime/scheme-handler
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config
1219s ok 6 /appinfo/mime/default-last-used
1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/home
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/cache
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-config2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/config
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-data2
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/state
1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/runtime
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
1219s # removing '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
1219s # creating '/tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
1219s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_COF212/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_COF212/appinfo/mime/ignore-nonexisting/.dirs/config
1219s ok 7 /appinfo/mime/ignore-nonexisting
1219s # End of mime tests
1219s # End of appinfo tests
1219s ok - glib/mimeapps.test
1219s # Running test: glib/rcbox.test
1219s TAP version 14
1219s # random seed: R02S316d5676475ffa6e1e7efa778e933d4f
1219s 1..8
1219s # Start of rcbox tests
1219s ok 1 /rcbox/new
1219s # global_point = 0x125e7b1688d0
1219s ok 2 /rcbox/release-full
1219s # global_point_a = 0x125e7b1688d0
1219s # global_point_b = 0x125e7b168890
1219s ok 3 /rcbox/dup
1219s ok 4 /rcbox/alignment
1219s # End of rcbox tests
1219s # Start of atomic-rcbox tests
1219s ok 5 /atomic-rcbox/new
1219s # global_point = 0x125e7b168aa0
1219s ok 6 /atomic-rcbox/release-full
1219s # global_point_a = 0x125e7b168aa0
1219s # global_point_b = 0x125e7b168a60
1219s ok 7 /atomic-rcbox/dup
1219s ok 8 /atomic-rcbox/alignment
1219s # End of atomic-rcbox tests
1219s ok - glib/rcbox.test
1219s # Running test: glib/binding.test
1219s TAP version 14
1219s # random seed: R02S6abd7d95173da39b8052fce8c4c46557
1219s 1..19
1219s # Start of binding tests
1219s ok 1 /binding/default
1219s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
1219s ok 2 /binding/canonicalisation
1219s ok 3 /binding/bidirectional
1219s ok 4 /binding/transform
1219s ok 5 /binding/transform-default
1219s ok 6 /binding/transform-closure
1219s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
1219s ok 7 /binding/chain
1219s ok 8 /binding/sync-create
1219s ok 9 /binding/invert-boolean
1219s ok 10 /binding/same-object
1219s ok 11 /binding/unbind
1219s ok 12 /binding/unbind-weak
1219s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
1219s ok 13 /binding/unbind-multiple
1219s ok 14 /binding/fail
1219s ok 15 /binding/interface
1219s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
1219s ok 16 /binding/concurrent-unbind
1219s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
1219s ok 17 /binding/concurrent-finalizing
1219s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
1219s ok 18 /binding/dispose-source
1219s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
1219s ok 19 /binding/dispose-target
1219s # End of binding tests
1219s ok - glib/binding.test
1219s # Running test: glib/contenttype.test
1219s TAP version 14
1219s # random seed: R02Sbf2b219a891aa690a0825df04299447a
1219s 1..14
1219s # Start of contenttype tests
1219s ok 1 /contenttype/guess
1219s ok 2 /contenttype/guess_svg_from_data
1219s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX
1219s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
1219s ok 5 /contenttype/unknown
1219s ok 6 /contenttype/subtype
1219s ok 7 /contenttype/list
1219s ok 8 /contenttype/executable
1219s ok 9 /contenttype/description
1219s ok 10 /contenttype/icon
1219s ok 11 /contenttype/symbolic-icon
1219s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1219s ok 12 /contenttype/tree
1219s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
1219s ok 13 /contenttype/tree_invalid_encoding
1219s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
1219s ok 14 /contenttype/test_type_is_a_special_case
1219s # End of contenttype tests
1219s ok - glib/contenttype.test
1219s # Running test: glib/macros.test
1219s TAP version 14
1219s # random seed: R02S73970fc449ca78a501b5728afb0a2955
1219s 1..3
1219s # Start of alignof tests
1219s ok 1 /alignof/fallback
1219s # End of alignof tests
1219s # Start of assert tests
1219s ok 2 /assert/static
1219s # End of assert tests
1219s # Start of struct tests
1219s ok 3 /struct/sizeof_member
1219s # End of struct tests
1219s ok - glib/macros.test
1219s # Running test: glib/performance.test
1219s Running test simple-construction
1223s # Executing: glib/performance.test
1228s # Executing: glib/performance.test
1231s simple-construction: Millions of constructed objects per second: 6.361
1231s Running test simple-construction1
1233s simple-construction1: Millions of constructed objects per second: 55.145
1233s Running test complex-construction
1233s # Executing: glib/performance.test
1238s # Executing: glib/performance.test
1239s complex-construction: Millions of constructed objects per second: 3.678
1239s Running test complex-construction1
1243s # Executing: glib/performance.test
1246s complex-construction1: Millions of constructed objects per second: 4.230
1246s Running test complex-construction2
1248s # Executing: glib/performance.test
1253s # Executing: glib/performance.test
1254s complex-construction2: Millions of constructed objects per second: 4.786
1254s Running test finalization
1255s finalization: Millions of finalized objects per second: 0.812
1255s Running test type-check
1255s type-check: Million type checks per second: inf
1255s Running test emit-unhandled
1256s emit-unhandled: Emissions per second: 1157738
1256s Running test emit-unhandled-empty
1258s emit-unhandled-empty: Emissions per second: 10082646
1258s Running test emit-unhandled-generic
1258s # Executing: glib/performance.test
1259s emit-unhandled-generic: Emissions per second: 1314597
1259s Running test emit-unhandled-generic-empty
1260s emit-unhandled-generic-empty: Emissions per second: 10090758
1260s Running test emit-unhandled-args
1261s emit-unhandled-args: Emissions per second: 1162166
1261s Running test emit-handled
1262s emit-handled: Emissions per second: 846164
1262s Running test emit-handled-empty
1263s emit-handled-empty: Emissions per second: 885242
1263s Running test emit-handled-generic
1263s # Executing: glib/performance.test
1265s emit-handled-generic: Emissions per second: 848904
1265s Running test emit-handled-generic-empty
1266s emit-handled-generic-empty: Emissions per second: 1317681
1266s Running test emit-handled-args
1267s emit-handled-args: Emissions per second: 878759
1267s Running test notify-unhandled
1268s notify-unhandled: Notify (unhandled) per second: 10862168
1268s Running test notify-by-pspec-unhandled
1268s # Executing: glib/performance.test
1269s notify-by-pspec-unhandled: Notify (unhandled) per second: 44570323
1269s Running test notify-handled
1270s notify-handled: Notify per second: 515132
1270s Running test notify-by-pspec-handled
1271s notify-by-pspec-handled: Notify per second: 555140
1271s Running test property-set
1272s property-set: Property set per second: 6294155
1272s Running test property-get
1273s # Executing: glib/performance.test
1274s property-get: Property get per second: 6758981
1274s Running test refcount
1275s refcount: Million refs+unref per second: 6.27
1275s Running test refcount-1
1276s refcount-1: Million refs+unref per second: 13.77
1276s Running test refcount-toggle
1278s refcount-toggle: Million refs+unref per second: 8.43
1278s ok - glib/performance.test
1278s # Running test: glib/cxx-11.test
1278s TAP version 14
1278s # random seed: R02S13df6ee4dce1417f4079b78470b30b13
1278s 1..2
1278s # Start of gtask tests
1278s # 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.
1278s ok 1 /gtask/name
1278s # Start of name tests
1278s # 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.
1278s ok 2 /gtask/name/macro-wrapper
1278s # End of name tests
1278s # End of gtask tests
1278s ok - glib/cxx-11.test
1278s # Running test: glib/file-thumbnail.test
1278s TAP version 14
1278s # random seed: R02S6f5ab0491c697a6ec9f1b32896d08d87
1278s 1..7
1278s # Start of file-thumbnail tests
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/runtime
1278s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 1 /file-thumbnail/fail
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 2 /file-thumbnail/size-priority
1278s # Start of valid tests
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 3 /file-thumbnail/valid/normal
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 4 /file-thumbnail/valid/large
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 5 /file-thumbnail/valid/x-large
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 6 /file-thumbnail/valid/xx-large
1278s # End of valid tests
1278s # Start of unknown tests
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/runtime
1278s # Created test thumbnail at /tmp/test_file-thumbnail_AVFL22/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
1278s ok 7 /file-thumbnail/unknown/super-large
1278s # End of unknown tests
1278s # End of file-thumbnail tests
1278s ok - glib/file-thumbnail.test
1278s # Running test: glib/utils-c-89.test
1278s TAP version 14
1278s # random seed: R02S257421aa6637dea7e9591b687e4e28dd
1278s 1..41
1278s # Start of utils tests
1278s ok 1 /utils/language-names
1278s ok 2 /utils/locale-variants
1278s ok 3 /utils/version
1278s ok 4 /utils/appname
1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1278s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1278s ok 5 /utils/prgname-thread-safety
1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1278s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1278s ok 6 /utils/tmpdir
1278s ok 7 /utils/basic_bits
1278s ok 8 /utils/bits
1278s ok 9 /utils/swap
1278s ok 10 /utils/find-program
1278s ok 11 /utils/find-program-for-path
1278s ok 12 /utils/debug
1278s ok 13 /utils/codeset
1278s ok 14 /utils/codeset2
1278s ok 15 /utils/console-charset
1278s ok 16 /utils/gettext
1278s ok 17 /utils/username
1278s ok 18 /utils/realname
1278s ok 19 /utils/hostname
1278s ok 20 /utils/xdgdirs
1278s ok 21 /utils/specialdir
1278s # NAME: Ubuntu
1278s ok 22 /utils/os-info
1278s ok 23 /utils/clear-pointer
1278s ok 24 /utils/clear-pointer-cast
1278s ok 25 /utils/take-pointer
1278s ok 26 /utils/clear-source
1278s ok 27 /utils/misc-mem
1278s # /utils/aligned-mem summary: Aligned memory allocator
1278s # Alignment must not be zero
1278s # Alignment must be a power of two
1278s # Alignment must be a multiple of sizeof(void*)
1278s ok 28 /utils/aligned-mem
1278s # /utils/free-sized summary: Check that g_free_sized() works
1278s ok 29 /utils/free-sized
1278s ok 30 /utils/nullify
1278s ok 31 /utils/atexit
1278s ok 32 /utils/check-setuid
1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1278s ok 33 /utils/int-limits
1278s ok 34 /utils/clear-list
1278s ok 35 /utils/clear-slist
1278s ok 36 /utils/steal-handle-id
1278s # Start of specialdir tests
1278s ok 37 /utils/specialdir/desktop
1278s # End of specialdir tests
1278s # Start of clear-pointer tests
1278s ok 38 /utils/clear-pointer/side-effects
1278s # End of clear-pointer tests
1278s # Start of aligned-mem tests
1278s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1278s ok 39 /utils/aligned-mem/alignment
1278s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1278s ok 40 /utils/aligned-mem/zeroed
1278s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1278s ok 41 /utils/aligned-mem/free-sized
1278s # Start of subprocess tests
1278s # End of subprocess tests
1278s # End of aligned-mem tests
1278s # End of utils tests
1278s ok - glib/utils-c-89.test
1278s # Running test: glib/cxx-14.test
1278s TAP version 14
1278s # random seed: R02Sed326982d0e47369492ad4f1334c6294
1278s 1..2
1278s # Start of gtask tests
1278s # 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.
1278s ok 1 /gtask/name
1278s # Start of name tests
1278s # 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.
1278s ok 2 /gtask/name/macro-wrapper
1278s # End of name tests
1278s # End of gtask tests
1278s ok - glib/cxx-14.test
1278s # Running test: glib/utils-isolated.test
1278s TAP version 14
1278s # random seed: R02Sfb21780847fad7192d2bd3810042c9f8
1278s 1..11
1278s # Start of utils-isolated tests
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/tmp-dir/.dirs/runtime
1278s ok 1 /utils-isolated/tmp-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/home-dir/.dirs/runtime
1278s ok 2 /utils-isolated/home-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-cache-dir/.dirs/runtime
1278s ok 3 /utils-isolated/user-cache-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-config-dirs/.dirs/runtime
1278s ok 4 /utils-isolated/system-config-dirs
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-config-dir/.dirs/runtime
1278s ok 5 /utils-isolated/user-config-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/system-data-dirs/.dirs/runtime
1278s ok 6 /utils-isolated/system-data-dirs
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-data-dir/.dirs/runtime
1278s ok 7 /utils-isolated/user-data-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-state-dir/.dirs/runtime
1278s ok 8 /utils-isolated/user-state-dir
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/user-runtime-dir/.dirs/runtime
1278s ok 9 /utils-isolated/user-runtime-dir
1278s # Start of cleanup tests
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/runtime
1278s Unable to clean up temporary directory /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
1278s Unable to clean up temporary directory /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
1278s Unable to clean up temporary directory /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/handles-errors: Directory not empty
1278s ok 10 /utils-isolated/cleanup/handles-errors
1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
1278s Unable to clean up temporary directory /tmp/test_utils-isolated_G2RJ22/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
1278s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
1278s # End of cleanup tests
1278s # End of utils-isolated tests
1278s ok - glib/utils-isolated.test
1278s # Running test: glib/network-address.test
1278s TAP version 14
1278s # random seed: R02See050a7bf78f99b2d92c69783e0fbc8a
1278s 1..72
1278s # Start of network-address tests
1278s ok 1 /network-address/basic
1278s ok 2 /network-address/scope-id
1278s ok 3 /network-address/uri-scope-id
1278s ok 4 /network-address/to-string
1278s # Start of parse-host tests
1278s ok 5 /network-address/parse-host/0
1278s ok 6 /network-address/parse-host/1
1278s ok 7 /network-address/parse-host/2
1278s ok 8 /network-address/parse-host/3
1278s ok 9 /network-address/parse-host/4
1278s ok 10 /network-address/parse-host/5
1278s ok 11 /network-address/parse-host/6
1278s ok 12 /network-address/parse-host/7
1278s ok 13 /network-address/parse-host/8
1278s ok 14 /network-address/parse-host/9
1278s ok 15 /network-address/parse-host/10
1278s ok 16 /network-address/parse-host/11
1278s ok 17 /network-address/parse-host/12
1278s ok 18 /network-address/parse-host/13
1278s # End of parse-host tests
1278s # Start of parse-uri tests
1278s ok 19 /network-address/parse-uri/0
1278s ok 20 /network-address/parse-uri/1
1278s ok 21 /network-address/parse-uri/2
1278s ok 22 /network-address/parse-uri/3
1278s ok 23 /network-address/parse-uri/4
1278s ok 24 /network-address/parse-uri/5
1278s ok 25 /network-address/parse-uri/6
1278s ok 26 /network-address/parse-uri/7
1278s ok 27 /network-address/parse-uri/8
1278s ok 28 /network-address/parse-uri/9
1278s # End of parse-uri tests
1278s # Start of resolve-address tests
1278s # Input: 192.168.1.2
1278s ok 29 /network-address/resolve-address/0
1278s # Input: fe80::42
1278s ok 30 /network-address/resolve-address/1
1278s # Input: 192.168.1.2:80
1278s ok 31 /network-address/resolve-address/2
1278s # Input: [fe80::42]
1278s ok 32 /network-address/resolve-address/3
1278s # Input: [fe80::42]:80
1278s ok 33 /network-address/resolve-address/4
1278s # Input: 192.168.258
1278s ok 34 /network-address/resolve-address/5
1278s # Input: 192.11010306
1278s ok 35 /network-address/resolve-address/6
1278s # Input: 3232235778
1278s ok 36 /network-address/resolve-address/7
1278s # Input: 0300.0250.0001.0001
1278s ok 37 /network-address/resolve-address/8
1278s # Input: 0xC0.0xA8.0x01.0x02
1278s ok 38 /network-address/resolve-address/9
1278s # Input: 0xc0.0xa8.0x01.0x02
1278s ok 39 /network-address/resolve-address/10
1278s # Input: 0xc0a80102
1278s ok 40 /network-address/resolve-address/11
1278s # End of resolve-address tests
1278s # Start of loopback tests
1278s ok 41 /network-address/loopback/basic
1278s ok 42 /network-address/loopback/sync
1278s ok 43 /network-address/loopback/async
1278s # End of loopback tests
1278s # Start of localhost tests
1278s ok 44 /network-address/localhost/async
1278s ok 45 /network-address/localhost/sync
1278s # End of localhost tests
1278s # Start of happy-eyeballs tests
1278s ok 46 /network-address/happy-eyeballs/basic
1278s ok 47 /network-address/happy-eyeballs/parallel
1278s ok 48 /network-address/happy-eyeballs/slow-ipv4
1278s ok 49 /network-address/happy-eyeballs/slow-ipv6
1278s # Executing: glib/network-address.test
1278s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
1279s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
1279s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs
1279s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1279s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
1279s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1279s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
1279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
1279s # /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.
1279s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1279s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
1279s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1279s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
1279s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1279s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
1279s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1279s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1279s ok 57 /network-address/happy-eyeballs/both-error
1279s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1279s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1279s ok 58 /network-address/happy-eyeballs/both-error-delays-1
1279s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1280s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
1280s ok 59 /network-address/happy-eyeballs/both-error-delays-2
1280s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
1280s ok 60 /network-address/happy-eyeballs/both-error-delays-3
1280s # End of happy-eyeballs tests
1280s # End of network-address tests
1280s # Start of gresolver tests
1280s # Start of resolve-address tests
1280s # Input: 192.168.1.2
1280s ok 61 /gresolver/resolve-address/0
1280s # Input: fe80::42
1280s ok 62 /gresolver/resolve-address/1
1280s # Input: 192.168.1.2:80
1280s # Error: Error resolving ?192.168.1.2:80?: Name or service not known
1280s ok 63 /gresolver/resolve-address/2
1280s # Input: [fe80::42]
1280s # Error: Error resolving ?[fe80::42]?: Name or service not known
1280s ok 64 /gresolver/resolve-address/3
1280s # Input: [fe80::42]:80
1280s # Error: Error resolving ?[fe80::42]:80?: Name or service not known
1280s ok 65 /gresolver/resolve-address/4
1280s # Input: 192.168.258
1280s # Error: Error resolving ?192.168.258?: Name or service not known
1280s ok 66 /gresolver/resolve-address/5
1280s # Input: 192.11010306
1280s # Error: Error resolving ?192.11010306?: Name or service not known
1280s ok 67 /gresolver/resolve-address/6
1280s # Input: 3232235778
1280s # Error: Error resolving ?3232235778?: Name or service not known
1280s ok 68 /gresolver/resolve-address/7
1280s # Input: 0300.0250.0001.0001
1280s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known
1280s ok 69 /gresolver/resolve-address/8
1280s # Input: 0xC0.0xA8.0x01.0x02
1280s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known
1280s ok 70 /gresolver/resolve-address/9
1280s # Input: 0xc0.0xa8.0x01.0x02
1280s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known
1280s ok 71 /gresolver/resolve-address/10
1280s # Input: 0xc0a80102
1280s # Error: Error resolving ?0xc0a80102?: Name or service not known
1280s ok 72 /gresolver/resolve-address/11
1280s # End of resolve-address tests
1280s # End of gresolver tests
1280s ok - glib/network-address.test
1280s # Running test: glib/timer.test
1280s TAP version 14
1280s # random seed: R02S730370b0cc027ca6a8f28a2e6085bdfc
1280s 1..10
1280s # Start of timer tests
1280s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
1280s ok 2 /timer/stop
1280s ok 3 /timer/continue
1280s ok 4 /timer/reset
1280s ok 5 /timer/is_active
1280s # End of timer tests
1280s # Start of timeval tests
1280s ok 6 /timeval/add
1280s ok 7 /timeval/from-iso8601
1280s ok 8 /timeval/to-iso8601
1280s # Start of to-iso8601 tests
1280s ok 9 /timeval/to-iso8601/overflow
1280s # End of to-iso8601 tests
1280s # End of timeval tests
1280s # Start of usleep tests
1280s ok 10 /usleep/with-zero-wait
1280s # End of usleep tests
1280s ok - glib/timer.test
1280s # Running test: glib/slist.test
1280s TAP version 14
1280s # random seed: R02S4227fffd42ed6c990550d8dfeafc7c56
1280s 1..14
1280s # Start of slist tests
1280s ok 1 /slist/sort
1280s ok 2 /slist/sort-with-data
1280s ok 3 /slist/insert-sorted
1280s ok 4 /slist/insert-sorted-with-data
1280s ok 5 /slist/reverse
1280s ok 6 /slist/nth
1280s ok 7 /slist/remove
1280s ok 8 /slist/remove-all
1280s ok 9 /slist/insert
1280s ok 10 /slist/position
1280s ok 11 /slist/concat
1280s ok 12 /slist/copy
1280s # Start of sort tests
1280s ok 13 /slist/sort/stable
1280s # End of sort tests
1280s # Start of copy tests
1280s ok 14 /slist/copy/deep
1280s # End of copy tests
1280s # End of slist tests
1280s ok - glib/slist.test
1280s # Running test: glib/shell.test
1280s TAP version 14
1280s # random seed: R02S7ad9cef9a576443412b3ac753234a8f1
1280s 1..51
1280s # Start of shell tests
1280s # Start of cmdline tests
1280s test cmdline: foo bar
1280s ok 1 /shell/cmdline/0
1280s test cmdline: foo 'bar'
1280s ok 2 /shell/cmdline/1
1280s test cmdline: foo "bar"
1280s ok 3 /shell/cmdline/2
1280s test cmdline: foo '' 'bar'
1280s ok 4 /shell/cmdline/3
1280s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
1280s ok 5 /shell/cmdline/4
1280s test cmdline: foo blah foo bar baz
1280s ok 6 /shell/cmdline/5
1280s test cmdline: foo ' spaces more spaces lots of spaces in this '
1280s ok 7 /shell/cmdline/6
1280s test cmdline: foo \
1280s bar
1280s ok 8 /shell/cmdline/7
1280s test cmdline: foo '' ''
1280s ok 9 /shell/cmdline/8
1280s test cmdline: foo \" la la la
1280s ok 10 /shell/cmdline/9
1280s test cmdline: foo \ foo woo woo\
1280s ok 11 /shell/cmdline/10
1280s test cmdline: foo "yada yada \$\""
1280s ok 12 /shell/cmdline/11
1280s test cmdline: foo "c:\\"
1280s ok 13 /shell/cmdline/12
1280s test cmdline: foo # bla bla bla
1280s bar
1280s ok 14 /shell/cmdline/13
1280s test cmdline: foo a#b
1280s ok 15 /shell/cmdline/14
1280s test cmdline: #foo
1280s ok 16 /shell/cmdline/15
1280s test cmdline: foo bar \
1280s ok 17 /shell/cmdline/16
1280s test cmdline: foo 'bar baz
1280s ok 18 /shell/cmdline/17
1280s test cmdline: foo '"bar" baz
1280s ok 19 /shell/cmdline/18
1280s test cmdline:
1280s ok 20 /shell/cmdline/19
1280s test cmdline:
1280s ok 21 /shell/cmdline/20
1280s test cmdline: # foo bar
1280s ok 22 /shell/cmdline/21
1280s test cmdline: foo '/bar/summer'\''09 tours.pdf'
1280s ok 23 /shell/cmdline/22
1280s # End of cmdline tests
1280s # Start of quote tests
1280s ok 24 /shell/quote/0
1280s ok 25 /shell/quote/1
1280s ok 26 /shell/quote/2
1280s ok 27 /shell/quote/3
1280s ok 28 /shell/quote/4
1280s ok 29 /shell/quote/5
1280s ok 30 /shell/quote/6
1280s # End of quote tests
1280s # Start of unquote tests
1280s ok 31 /shell/unquote/0
1280s ok 32 /shell/unquote/1
1280s ok 33 /shell/unquote/2
1280s ok 34 /shell/unquote/3
1280s ok 35 /shell/unquote/4
1280s ok 36 /shell/unquote/5
1280s ok 37 /shell/unquote/6
1280s ok 38 /shell/unquote/7
1280s ok 39 /shell/unquote/8
1280s ok 40 /shell/unquote/9
1280s ok 41 /shell/unquote/10
1280s ok 42 /shell/unquote/11
1280s ok 43 /shell/unquote/12
1280s ok 44 /shell/unquote/13
1280s ok 45 /shell/unquote/14
1280s ok 46 /shell/unquote/15
1280s ok 47 /shell/unquote/16
1280s ok 48 /shell/unquote/17
1280s ok 49 /shell/unquote/18
1280s ok 50 /shell/unquote/19
1280s ok 51 /shell/unquote/20
1280s # End of unquote tests
1280s # End of shell tests
1280s ok - glib/shell.test
1280s # Running test: glib/rwlock.test
1280s TAP version 14
1280s # random seed: R02S5cb9809288864b99465e0678c42c5ae3
1280s 1..8
1280s # Start of thread tests
1280s ok 1 /thread/rwlock1
1280s ok 2 /thread/rwlock2
1280s ok 3 /thread/rwlock3
1280s ok 4 /thread/rwlock4
1280s ok 5 /thread/rwlock5
1280s ok 6 /thread/rwlock6
1283s # Executing: glib/rwlock.test
1286s ok 7 /thread/rwlock7
1286s # slow test /thread/rwlock7 executed in 6.61 secs
1286s ok 8 /thread/rwlock8
1286s # End of thread tests
1286s ok - glib/rwlock.test
1286s # Running test: glib/readwrite.test
1286s TAP version 14
1286s # random seed: R02S2835caa69901434efa898829f17e0b6a
1286s 1..3
1286s # Start of readwrite tests
1286s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1286s ok 1 /readwrite/test_g_file_open_readwrite
1286s ok 2 /readwrite/test_g_file_create_readwrite
1286s ok 3 /readwrite/test_g_file_replace_readwrite
1286s # End of readwrite tests
1286s ok - glib/readwrite.test
1286s # Running test: glib/logging.test
1286s TAP version 14
1286s # random seed: R02S7b9fda62a2e01eff088a38c4168ce7d9
1286s 1..17
1286s # Start of logging tests
1287s ok 1 /logging/default-handler
1287s ok 2 /logging/warnings
1287s ok 3 /logging/fatal-log-mask
1287s # bu-DEBUG: message
1287s # ba-DEBUG: message
1287s # ba-INFO: message
1287s ok 4 /logging/set-handler
1287s ok 5 /logging/print-handler
1287s ok 6 /logging/printerr-handler
1287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
1287s # The Log Message Handler
1287s #
1287s # The Good Fail Message Handler
1287s #
1287s ok 7 /logging/653052
1287s ok 8 /logging/gibberish
1287s # Start of default-handler tests
1287s # Start of subprocess tests
1287s # End of subprocess tests
1287s # End of default-handler tests
1287s # End of logging tests
1287s # Start of structured-logging tests
1287s ok 9 /structured-logging/no-state
1287s ok 10 /structured-logging/some-state
1287s ok 11 /structured-logging/robustness
1287s ok 12 /structured-logging/roundtrip1
1287s ok 13 /structured-logging/roundtrip2
1287s ok 14 /structured-logging/roundtrip3
1287s ok 15 /structured-logging/variant1
1287s ok 16 /structured-logging/variant2
1287s ok 17 /structured-logging/set-writer-func-twice
1287s # End of structured-logging tests
1287s ok - glib/logging.test
1287s # Running test: glib/autoptr.test
1287s TAP version 14
1287s # random seed: R02S6ab5d586483b803114c584650f59b138
1287s 1..6
1287s # Start of autoptr tests
1287s ok 1 /autoptr/autoptr
1287s ok 2 /autoptr/autoptr_steal
1287s ok 3 /autoptr/autolist
1287s ok 4 /autoptr/autoslist
1287s ok 5 /autoptr/autoqueue
1287s ok 6 /autoptr/autoclass
1287s # End of autoptr tests
1287s ok - glib/autoptr.test
1287s # Running test: glib/type.test
1287s TAP version 14
1287s # random seed: R02S23eb132751aec46a332bef5bbb7059d9
1287s 1..6
1287s # Start of type tests
1287s ok 1 /type/registration-serial
1287s ok 2 /type/interface-prerequisite
1287s ok 3 /type/interface-check
1287s ok 4 /type/next-base
1287s ok 5 /type/is-a
1287s # Invalid types can?t be queried.
1287s # Unclassed types can?t be queried.
1287s ok 6 /type/query
1287s # End of type tests
1287s ok - glib/type.test
1287s # Running test: glib/properties-refcount4.test
1287s TAP version 14
1287s # random seed: R02S7db3042751b542b83189a1b0d65b5a1c
1287s 1..1
1287s # Start of gobject tests
1287s # Start of refcount tests
1287s ok 1 /gobject/refcount/properties-4
1287s # End of refcount tests
1287s # End of gobject tests
1287s ok - glib/properties-refcount4.test
1287s # Running test: glib/signals-refcount2.test
1287s TAP version 14
1287s # random seed: R02S9ad5e15a4512f3e0f4ffbcbfb96de840
1287s 1..1
1287s # Start of gobject tests
1287s # Start of refcount tests
1287s # init 0x314fa0bf120
1287s #
1287s # init 0x314fa0bf2c0
1287s #
1288s # Executing: glib/signals-refcount2.test
1292s # dispose 0x314fa0bf120!
1292s #
1292s # dispose 0x314fa0bf2c0!
1292s #
1292s ok 1 /gobject/refcount/signals
1292s # slow test /gobject/refcount/signals executed in 5.00 secs
1292s # End of refcount tests
1292s # End of gobject tests
1292s ok - glib/signals-refcount2.test
1292s # Running test: glib/spawn-test.test
1292s TAP version 14
1292s # random seed: R02S08d46b4df0f9975d7e53a95cc5512298
1292s 1..2
1292s # Start of spawn tests
1292s ok 1 /spawn/basics
1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
1292s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
1292s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
1292s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
1292s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
1292s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
1292s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
1292s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
1292s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
1292s # Fetching GSpawn result output with stdin open, stdout open, stderr open
1292s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
1292s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
1292s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
1292s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
1292s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
1292s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
1292s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
1292s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
1292s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
1292s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
1292s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
1292s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
1292s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
1292s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
1292s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
1292s # Fetching GSpawn result with stdin open, stdout open, stderr open
1292s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
1292s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
1292s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
1292s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
1292s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
1292s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
1292s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
1292s ok 2 /spawn/stdio-overwrite
1292s # End of spawn tests
1292s ok - glib/spawn-test.test
1292s # Running test: glib/macros-c-17.test
1292s TAP version 14
1292s # random seed: R02S608bc05c4ca57b60dad8b8042286f39e
1292s 1..4
1292s # Start of C tests
1292s ok 1 /C/standard-17
1292s # End of C tests
1292s # Start of alignof tests
1292s ok 2 /alignof/fallback
1292s # End of alignof tests
1292s # Start of assert tests
1292s ok 3 /assert/static
1292s # End of assert tests
1292s # Start of struct tests
1292s ok 4 /struct/sizeof_member
1292s # End of struct tests
1292s ok - glib/macros-c-17.test
1292s # Running test: glib/buffered-output-stream.test
1292s TAP version 14
1292s # random seed: R02Sd5b9a3b74de763448c15598b0122ea36
1292s 1..5
1292s # Start of buffered-output-stream tests
1292s ok 1 /buffered-output-stream/write
1292s ok 2 /buffered-output-stream/grow
1292s ok 3 /buffered-output-stream/seek
1292s ok 4 /buffered-output-stream/truncate
1292s # End of buffered-output-stream tests
1292s # Start of filter-output-stream tests
1292s ok 5 /filter-output-stream/close
1292s # End of filter-output-stream tests
1292s ok - glib/buffered-output-stream.test
1292s # Running test: glib/atomic.test
1292s TAP version 14
1292s # random seed: R02S19c5145d587d157d325b6019d37f6b76
1292s 1..2
1292s # Start of atomic tests
1292s ok 1 /atomic/types
1292s ok 2 /atomic/threaded
1292s # End of atomic tests
1292s ok - glib/atomic.test
1292s # Running test: glib/power-profile-monitor-dbus.test
1292s TAP version 13
1292s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled
1292s 1..1
1292s ok - glib/power-profile-monitor-dbus.test
1292s # Running test: glib/unix-streams.test
1292s TAP version 14
1292s # random seed: R02S32be7eb10137bac2f1cea33b35a6f3fe
1292s 1..9
1292s # Start of unix-streams tests
1292s ok 1 /unix-streams/basic
1293s ok 2 /unix-streams/pipe-io-test
1293s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
1293s ok 3 /unix-streams/nonblocking-io-test
1293s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
1293s ok 4 /unix-streams/read_write
1293s ok 5 /unix-streams/read_writev
1293s ok 6 /unix-streams/write-wouldblock
1293s ok 7 /unix-streams/writev-wouldblock
1293s ok 8 /unix-streams/write-async-wouldblock
1293s ok 9 /unix-streams/writev-async-wouldblock
1293s # End of unix-streams tests
1293s ok - glib/unix-streams.test
1293s # Running test: glib/async-close-output-stream.test
1293s TAP version 14
1293s # random seed: R02Sb2b9a3eebf91a98773e0311bf6afb83e
1293s 1..3
1293s # Start of close-async tests
1293s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1293s ok 1 /close-async/without-flush
1293s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1293s ok 2 /close-async/with-flush
1293s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1293s ok 3 /close-async/with-async-flush
1293s # End of close-async tests
1293s ok - glib/async-close-output-stream.test
1293s # Running test: glib/mem-overflow.test
1293s TAP version 14
1293s # random seed: R02Sb38ff4ebcb35f340d094b22fb89254c3
1293s 1..2
1293s # Start of mem tests
1293s ok 1 /mem/overflow
1293s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
1293s ok 2 /mem/empty-alloc
1293s # Start of overflow tests
1293s # Start of subprocess tests
1293s # End of subprocess tests
1293s # End of overflow tests
1293s # Start of empty-alloc tests
1293s # End of empty-alloc tests
1293s # End of mem tests
1293s ok - glib/mem-overflow.test
1293s # Running test: glib/dynamictype.test
1293s TAP version 14
1293s # random seed: R02S34bdf6e8ad34b8a1c6e78c1d51076518
1293s 1..2
1293s # Start of gobject tests
1293s ok 1 /gobject/dynamic-type
1293s # Start of dynamic-type tests
1293s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
1293s ok 2 /gobject/dynamic-type/query
1293s # End of dynamic-type tests
1293s # End of gobject tests
1293s ok - glib/dynamictype.test
1293s # Running test: glib/cancellable.test
1293s TAP version 14
1293s # random seed: R02Se61ce5106f13933562c4d0e719ddbb16
1293s 1..11
1293s # Start of cancellable tests
1293s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
1293s ok 2 /cancellable/null
1293s # /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
1293s # Executing: glib/cancellable.test
1293s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs
1293s # /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
1294s ok 4 /cancellable/resets-on-cancel-callback-hangs
1294s ok 5 /cancellable/poll-fd
1294s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
1294s ok 6 /cancellable/poll-fd-cancelled
1294s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
1294s ok 7 /cancellable/poll-fd-cancelled-threaded
1294s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
1294s ok 8 /cancellable/cancel-reset-races
1294s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
1294s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly
1294s # End of cancellable tests
1294s # Start of cancellable-source tests
1294s # /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)
1294s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
1295s ok 10 /cancellable-source/threaded-dispose
1295s # slow test /cancellable-source/threaded-dispose executed in 0.91 secs
1295s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times
1295s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774
1295s ok 11 /cancellable-source/can-be-fired-multiple-times
1295s # End of cancellable-source tests
1295s ok - glib/cancellable.test
1295s # Running test: glib/convert.test
1295s TAP version 14
1295s # random seed: R02S33f3f22fa125b8833ead37fc444e933a
1295s 1..14
1295s # Start of conversion tests
1295s ok 1 /conversion/no-conv
1295s ok 2 /conversion/iconv-state
1295s ok 3 /conversion/illegal-sequence
1295s ok 4 /conversion/byte-order
1295s ok 5 /conversion/unicode
1295s ok 6 /conversion/filename-utf8
1295s ok 7 /conversion/filename-display
1295s ok 8 /conversion/convert-embedded-nul
1295s # Start of locale-to-utf8 tests
1295s ok 9 /conversion/locale-to-utf8/embedded-nul
1295s # Start of embedded-nul tests
1295s # Start of subprocess tests
1295s # End of subprocess tests
1295s # End of embedded-nul tests
1295s # End of locale-to-utf8 tests
1295s # Start of locale-from-utf8 tests
1295s ok 10 /conversion/locale-from-utf8/embedded-nul
1295s # Start of embedded-nul tests
1295s # Start of subprocess tests
1295s # End of subprocess tests
1295s # End of embedded-nul tests
1295s # End of locale-from-utf8 tests
1295s # Start of filename-to-utf8 tests
1295s ok 11 /conversion/filename-to-utf8/embedded-nul
1295s # Start of embedded-nul tests
1295s # Start of subprocess tests
1295s # End of subprocess tests
1295s # End of embedded-nul tests
1295s # End of filename-to-utf8 tests
1295s # Start of filename-from-utf8 tests
1295s ok 12 /conversion/filename-from-utf8/embedded-nul
1295s # Start of embedded-nul tests
1295s # Start of subprocess tests
1295s # End of subprocess tests
1295s # End of embedded-nul tests
1295s # End of filename-from-utf8 tests
1295s # Start of filename-from-uri tests
1295s ok 13 /conversion/filename-from-uri/query-is-ignored
1295s ok 14 /conversion/filename-from-uri/fragment-is-ignored
1295s # End of filename-from-uri tests
1295s # End of conversion tests
1295s ok - glib/convert.test
1295s # Running test: glib/network-monitor-race.test
1295s TAP version 14
1295s # random seed: R02S765fa7132f2ff5aa085f392ef1282caf
1295s 1..1
1295s # Start of network-monitor tests
1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
1297s ok 1 /network-monitor/create-in-thread
1297s # slow test /network-monitor/create-in-thread executed in 2.18 secs
1297s # End of network-monitor tests
1297s ok - glib/network-monitor-race.test
1297s # Running test: glib/gsocketclient-slow.test
1297s TAP version 14
1297s # random seed: R02Sc18800d641463c2fd4b4921d477b5a3a
1297s 1..4
1297s # Start of socket-client tests
1297s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
1297s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1297s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13013d06ac80 and GSocketClientAsyncConnectData 0x13013d0637b0
1297s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1297s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1297s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13013d06cb30 for GSocketClientAsyncConnectData 0x13013d0637b0
1297s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1297s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1297s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1297s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
1297s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1297s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1297s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13013d06dc40 for GSocketClientAsyncConnectData 0x13013d0637b0
1297s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1298s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1298s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
1298s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
1298s ok 1 /socket-client/connection-fail
1298s # slow test /socket-client/connection-fail executed in 1.20 secs
1298s # Start of happy-eyeballs tests
1298s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13013d070680 and GSocketClientAsyncConnectData 0x13013d06e8e0
1298s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1298s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1298s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13013d070fc0 for GSocketClientAsyncConnectData 0x13013d06e8e0
1298s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1298s # Executing: glib/gsocketclient-slow.test
1299s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1299s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1299s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1299s ok 2 /socket-client/happy-eyeballs/slow
1299s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs
1299s # Start of cancellation tests
1299s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13013d071be0 and GSocketClientAsyncConnectData 0x13013d070b70
1299s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
1299s ok 3 /socket-client/happy-eyeballs/cancellation/instant
1299s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x13013d0702b0 and GSocketClientAsyncConnectData 0x13013d06b940
1299s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1299s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x13013d071f00 for GSocketClientAsyncConnectData 0x13013d06b940
1299s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1299s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1299s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1299s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1299s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
1299s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
1299s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs
1299s # End of cancellation tests
1299s # End of happy-eyeballs tests
1299s # End of socket-client tests
1299s ok - glib/gsocketclient-slow.test
1299s # Running test: glib/gdbus-export.test
1299s TAP version 14
1299s # random seed: R02See81521694d662885d82152880997ff3
1299s 1..7
1299s # Start of gdbus tests
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/object-registration/.dirs/runtime
1299s ok 1 /gdbus/object-registration
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures/.dirs/runtime
1299s ok 2 /gdbus/object-registration-with-closures
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/object-registration-with-closures2/.dirs/runtime
1299s ok 3 /gdbus/object-registration-with-closures2
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/registered-interfaces/.dirs/runtime
1299s ok 4 /gdbus/registered-interfaces
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/async-properties/.dirs/runtime
1299s ok 5 /gdbus/async-properties
1299s # Start of threaded-unregistration tests
1299s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/home
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/cache
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/system-config2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/config
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/system-data2
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/data
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/state
1299s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/object/.dirs/runtime
1299s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1299s # /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
1301s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (24 iterations with unregistration first, 976 with call first); skipping test
1301s # slow test /gdbus/threaded-unregistration/object executed in 1.69 secs
1301s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/home
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/cache
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/system-config2
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/config
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/system-data2
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/data
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/state
1301s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2O0012/gdbus/threaded-unregistration/subtree/.dirs/runtime
1301s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1301s # /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
1302s ok 7 /gdbus/threaded-unregistration/subtree
1302s # slow test /gdbus/threaded-unregistration/subtree executed in 1.32 secs
1302s # End of threaded-unregistration tests
1302s # End of gdbus tests
1302s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1302s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1302s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1302s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1302s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1302s ok - glib/gdbus-export.test
1302s # Running test: glib/unix-fd.test
1302s TAP version 14
1302s # random seed: R02S8299f06c906b384df07838ce4a026919
1302s 1..2
1302s # Start of unix-fd tests
1302s ok 1 /unix-fd/fd-list
1302s ok 2 /unix-fd/scm
1302s # End of unix-fd tests
1302s ok - glib/unix-fd.test
1302s # Running test: glib/srvtarget.test
1302s TAP version 14
1302s # random seed: R02Sa4d17e572aeb76843fbf512649b80f67
1302s 1..1
1302s # Start of srvtarget tests
1303s # Executing: glib/srvtarget.test
1303s ok 1 /srvtarget/srv-target-ordering
1303s # slow test /srvtarget/srv-target-ordering executed in 1.12 secs
1303s # End of srvtarget tests
1303s ok - glib/srvtarget.test
1303s # Running test: glib/g-icon.test
1303s TAP version 14
1303s # random seed: R02Sc32c2650bc8bd837f3103afa21fb0d72
1303s 1..6
1303s # Start of icons tests
1303s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1303s ok 1 /icons/to-string
1303s ok 2 /icons/serialize
1303s ok 3 /icons/themed
1303s ok 4 /icons/emblemed
1303s ok 5 /icons/file
1303s ok 6 /icons/bytes
1303s # End of icons tests
1303s ok - glib/g-icon.test
1303s # Running test: glib/gdbus-error.test
1303s TAP version 14
1303s # random seed: R02S6a388ead6613965693da7f5839eb7396
1303s 1..4
1303s # Start of gdbus tests
1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/home
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/cache
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/system-config2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/config
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/system-data2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/data
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/state
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_I1M612/gdbus/registered-errors/.dirs/runtime
1303s ok 1 /gdbus/registered-errors
1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/home
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/cache
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/system-config2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/config
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/system-data2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/data
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/state
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_I1M612/gdbus/unregistered-errors/.dirs/runtime
1303s ok 2 /gdbus/unregistered-errors
1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/home
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/cache
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/system-config2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/config
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/system-data2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/data
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/state
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_I1M612/gdbus/transparent-gerror/.dirs/runtime
1303s ok 3 /gdbus/transparent-gerror
1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/home
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/cache
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/system-config2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/config
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/system-data2
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/data
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/state
1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_I1M612/gdbus/register-error/.dirs/runtime
1303s ok 4 /gdbus/register-error
1303s # End of gdbus tests
1303s ok - glib/gdbus-error.test
1303s # Running test: glib/socket-service.test
1303s TAP version 14
1303s # random seed: R02S5ade4860e0c24ec028adc85c41f3fe8c
1303s 1..4
1303s # Start of socket-service tests
1303s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1303s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xde43b9abd20 and GSocketClientAsyncConnectData 0xde43b9a4220
1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1303s ok 1 /socket-service/start-stop
1303s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xde43b9ad920 and GSocketClientAsyncConnectData 0xde43b9ad6c0
1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xde43b9ade30 for GSocketClientAsyncConnectData 0xde43b9a4220
1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1303s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1303s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1303s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xde43b9aec70 for GSocketClientAsyncConnectData 0xde43b9ad6c0
1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1303s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1303s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1303s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1303s ok 2 /socket-service/read_write_async
1303s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xde43b9af0e0 and GSocketClientAsyncConnectData 0xde43b9af3b0
1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xde43b9af7a0 for GSocketClientAsyncConnectData 0xde43b9af3b0
1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1303s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1303s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1303s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1303s ok 3 /socket-service/read_writev_async
1303s # Start of threaded tests
1303s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
1303s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xde43b9af0e0 and GSocketClientAsyncConnectData 0xde43b9a4220
1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xde43b9b34c0 for GSocketClientAsyncConnectData 0xde43b9a4220
1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1303s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1303s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1303s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1303s ok 4 /socket-service/threaded/712570
1303s # End of threaded tests
1303s # End of socket-service tests
1303s ok - glib/socket-service.test
1303s # Running test: glib/deprecated-properties.test
1303s TAP version 14
1303s # random seed: R02Sbc08f3ab83df6f19c84dbd06b2536e16
1303s 1..3
1303s # Start of deprecated-properties tests
1303s ok 1 /deprecated-properties/construct
1303s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1303s ok 2 /deprecated-properties/default-construct
1303s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1303s ok 3 /deprecated-properties/set
1303s # End of deprecated-properties tests
1303s ok - glib/deprecated-properties.test
1303s # Running test: glib/converter-stream.test
1303s TAP version 14
1303s # random seed: R02Sc07f695ffc8101a3b5846a2f0ec4c43a
1303s 1..17
1303s # Start of converter tests
1303s ok 1 /converter/basics
1303s # End of converter tests
1303s # Start of converter-input-stream tests
1303s ok 2 /converter-input-stream/expander
1303s ok 3 /converter-input-stream/compressor
1303s # Start of truncation tests
1304s ok 4 /converter-input-stream/truncation/zlib
1304s ok 5 /converter-input-stream/truncation/gzip
1304s ok 6 /converter-input-stream/truncation/raw
1304s # End of truncation tests
1304s # Start of charset tests
1304s ok 7 /converter-input-stream/charset/utf8->latin1
1304s ok 8 /converter-input-stream/charset/latin1->utf8
1304s ok 9 /converter-input-stream/charset/fallbacks
1304s # End of charset tests
1304s # End of converter-input-stream tests
1304s # Start of converter-output-stream tests
1304s # Start of roundtrip tests
1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1304s ok 10 /converter-output-stream/roundtrip/zlib-0
1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1305s ok 11 /converter-output-stream/roundtrip/zlib-9
1305s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1305s ok 12 /converter-output-stream/roundtrip/gzip-0
1305s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1305s ok 13 /converter-output-stream/roundtrip/gzip-9
1305s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1305s ok 14 /converter-output-stream/roundtrip/raw-0
1305s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
1305s ok 15 /converter-output-stream/roundtrip/raw-9
1305s # End of roundtrip tests
1305s # End of converter-output-stream tests
1305s # Start of converter-stream tests
1305s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1305s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x174979d197d0 and GSocketClientAsyncConnectData 0x17497a104f60
1305s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1305s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1305s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x174979d22920 for GSocketClientAsyncConnectData 0x17497a104f60
1305s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1305s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1305s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1305s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1305s ok 16 /converter-stream/pollable
1305s ok 17 /converter-stream/leftover
1305s # End of converter-stream tests
1305s ok - glib/converter-stream.test
1305s # Running test: glib/boxed.test
1305s TAP version 14
1305s # random seed: R02Sd01bbbca06bf0c6b076fdb9746d08085
1305s 1..27
1305s # Start of boxed tests
1305s ok 1 /boxed/define
1305s ok 2 /boxed/ownership
1305s ok 3 /boxed/closure
1305s ok 4 /boxed/date
1305s ok 5 /boxed/value
1305s ok 6 /boxed/string
1305s ok 7 /boxed/hashtable
1305s ok 8 /boxed/array
1305s ok 9 /boxed/ptrarray
1305s ok 10 /boxed/regex
1305s ok 11 /boxed/varianttype
1305s ok 12 /boxed/error
1305s ok 13 /boxed/datetime
1305s ok 14 /boxed/matchinfo
1305s ok 15 /boxed/keyfile
1305s ok 16 /boxed/mainloop
1305s ok 17 /boxed/maincontext
1305s ok 18 /boxed/source
1305s ok 19 /boxed/variantbuilder
1305s ok 20 /boxed/timezone
1305s ok 21 /boxed/pollfd
1305s ok 22 /boxed/markup
1305s ok 23 /boxed/thread
1305s ok 24 /boxed/checksum
1305s ok 25 /boxed/tree
1305s ok 26 /boxed/patternspec
1305s ok 27 /boxed/rand
1305s # End of boxed tests
1305s ok - glib/boxed.test
1305s # Running test: glib/error.test
1305s TAP version 14
1305s # random seed: R02S7385cec8674647c57f149bbe3e9be269
1305s 1..3
1305s # Start of error tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQS712/error/from-errno/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQS712/error/from-errno/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQS712/error/from-errno/.dirs/system-config1:/tmp/test_error_UQS712/error/from-errno/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQS712/error/from-errno/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQS712/error/from-errno/.dirs/system-data1:/tmp/test_error_UQS712/error/from-errno/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQS712/error/from-errno/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQS712/error/from-errno/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQS712/error/from-errno/.dirs/runtime
1305s ok 1 /error/from-errno
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQS712/error/from-file-error/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQS712/error/from-file-error/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQS712/error/from-file-error/.dirs/system-config1:/tmp/test_error_UQS712/error/from-file-error/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQS712/error/from-file-error/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQS712/error/from-file-error/.dirs/system-data1:/tmp/test_error_UQS712/error/from-file-error/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQS712/error/from-file-error/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQS712/error/from-file-error/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQS712/error/from-file-error/.dirs/runtime
1305s ok 2 /error/from-file-error
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_UQS712/error/from-win32-error/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_UQS712/error/from-win32-error/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_UQS712/error/from-win32-error/.dirs/system-config1:/tmp/test_error_UQS712/error/from-win32-error/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_UQS712/error/from-win32-error/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_UQS712/error/from-win32-error/.dirs/system-data1:/tmp/test_error_UQS712/error/from-win32-error/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_UQS712/error/from-win32-error/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_UQS712/error/from-win32-error/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_UQS712/error/from-win32-error/.dirs/runtime
1305s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
1305s # End of error tests
1305s ok - glib/error.test
1305s # Running test: glib/gdbus-proxy-unique-name.test
1305s TAP version 14
1305s # random seed: R02Sc5971f531fed71f9f58af7d7774453f2
1305s 1..1
1305s # Start of gdbus tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_ZAX712/gdbus/proxy-unique-name/.dirs/runtime
1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1305s ok 1 /gdbus/proxy-unique-name
1305s # End of gdbus tests
1305s ok - glib/gdbus-proxy-unique-name.test
1305s # Running test: glib/portal-support-snap-classic.test
1305s TAP version 14
1305s # random seed: R02S5297d4026f5faf8e587df674c9a8d330
1305s 1..3
1305s # Start of portal-support tests
1305s # Start of snap-classic tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl/.dirs/runtime
1305s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/no-snapctl: No such file or directory
1305s ok 1 /portal-support/snap-classic/no-snapctl
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/runtime
1305s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BOQ512/meta/snap.yaml
1305s # Created snapctl in /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none/.dirs/runtime/snapctl
1305s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/none: No such file or directory
1305s ok 2 /portal-support/snap-classic/none
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/runtime
1305s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BOQ512/meta/snap.yaml
1305s # Created snapctl in /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all/.dirs/runtime/snapctl
1305s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BOQ512/portal-support/snap-classic/all: No such file or directory
1305s ok 3 /portal-support/snap-classic/all
1305s # End of snap-classic tests
1305s # End of portal-support tests
1305s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BOQ512: No such file or directory
1305s ok - glib/portal-support-snap-classic.test
1305s # Running test: glib/guuid.test
1305s TAP version 14
1305s # random seed: R02S0da52da8290d0a572b7b834ab1d361c0
1305s 1..2
1305s # Start of uuid tests
1305s ok 1 /uuid/string
1305s ok 2 /uuid/random
1305s # End of uuid tests
1305s ok - glib/guuid.test
1305s # Running test: glib/volumemonitor.test
1305s TAP version 14
1305s # random seed: R02Sd8430f715df8b08ae6250256ff769609
1305s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1305s 1..3
1305s # Start of volumemonitor tests
1305s ok 1 /volumemonitor/connected_drives
1305s ok 2 /volumemonitor/volumes
1305s ok 3 /volumemonitor/mounts
1305s # End of volumemonitor tests
1305s ok - glib/volumemonitor.test
1305s # Running test: glib/resolver-parsing.test
1305s TAP version 14
1305s # random seed: R02S17e0d3ffaac4bef7b56046fde92d57cd
1305s 1..21
1305s # Start of gresolver tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/invalid-header/.dirs/runtime
1305s ok 1 /gresolver/invalid-header
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/record-ownership/.dirs/runtime
1305s ok 2 /gresolver/record-ownership
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/unknown-record-type/.dirs/runtime
1305s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
1305s ok 3 /gresolver/unknown-record-type
1305s # Start of mx tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/mx/valid/.dirs/runtime
1305s ok 4 /gresolver/mx/valid
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/.dirs/runtime
1305s ok 5 /gresolver/mx/invalid
1305s # Start of invalid tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short/.dirs/runtime
1305s ok 6 /gresolver/mx/invalid/too-short
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/mx/invalid/too-short2/.dirs/runtime
1305s ok 7 /gresolver/mx/invalid/too-short2
1305s # End of invalid tests
1305s # End of mx tests
1305s # Start of ns tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/ns/valid/.dirs/runtime
1305s ok 8 /gresolver/ns/valid
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/ns/invalid/.dirs/runtime
1305s ok 9 /gresolver/ns/invalid
1305s # End of ns tests
1305s # Start of soa tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/soa/valid/.dirs/runtime
1305s ok 10 /gresolver/soa/valid
1305s # Start of invalid tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/mname/.dirs/runtime
1305s ok 11 /gresolver/soa/invalid/mname
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/rname/.dirs/runtime
1305s ok 12 /gresolver/soa/invalid/rname
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/soa/invalid/too-short/.dirs/runtime
1305s ok 13 /gresolver/soa/invalid/too-short
1305s # End of invalid tests
1305s # End of soa tests
1305s # Start of srv tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/srv/valid/.dirs/runtime
1305s ok 14 /gresolver/srv/valid
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/.dirs/runtime
1305s ok 15 /gresolver/srv/invalid
1305s # Start of invalid tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short/.dirs/runtime
1305s ok 16 /gresolver/srv/invalid/too-short
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/srv/invalid/too-short2/.dirs/runtime
1305s ok 17 /gresolver/srv/invalid/too-short2
1305s # End of invalid tests
1305s # End of srv tests
1305s # Start of txt tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/.dirs/runtime
1305s ok 18 /gresolver/txt/valid
1305s # Start of valid tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/txt/valid/multiple-strings/.dirs/runtime
1305s ok 19 /gresolver/txt/valid/multiple-strings
1305s # End of valid tests
1305s # Start of invalid tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/empty/.dirs/runtime
1305s ok 20 /gresolver/txt/invalid/empty
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LJG512/gresolver/txt/invalid/overflow/.dirs/runtime
1305s ok 21 /gresolver/txt/invalid/overflow
1305s # End of invalid tests
1305s # End of txt tests
1305s # End of gresolver tests
1305s ok - glib/resolver-parsing.test
1305s # Running test: glib/union-info.test
1305s TAP version 14
1305s # random seed: R02S73d260536154c7c21f83dfd294595d38
1305s 1..2
1305s # Start of union-info tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CXE612/union-info/basic/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CXE612/union-info/basic/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CXE612/union-info/basic/.dirs/system-config1:/tmp/test_union-info_CXE612/union-info/basic/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CXE612/union-info/basic/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CXE612/union-info/basic/.dirs/system-data1:/tmp/test_union-info_CXE612/union-info/basic/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CXE612/union-info/basic/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CXE612/union-info/basic/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CXE612/union-info/basic/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s # /union-info/basic summary: Test basic properties of GIUnionInfo
1305s ok 1 /union-info/basic
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CXE612/union-info/methods/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CXE612/union-info/methods/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CXE612/union-info/methods/.dirs/system-config1:/tmp/test_union-info_CXE612/union-info/methods/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CXE612/union-info/methods/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CXE612/union-info/methods/.dirs/system-data1:/tmp/test_union-info_CXE612/union-info/methods/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CXE612/union-info/methods/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CXE612/union-info/methods/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CXE612/union-info/methods/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
1305s ok 2 /union-info/methods
1305s # End of union-info tests
1305s ok - glib/union-info.test
1305s # Running test: glib/autoptr-girepository.test
1305s TAP version 14
1305s # random seed: R02Sd1d4b2b99ce889b5eb2a7a6160eedf53
1305s 1..24
1305s # Start of autoptr tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/repository/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 1 /autoptr/repository
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/typelib/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 2 /autoptr/typelib
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/base-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 3 /autoptr/base-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/arg-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 4 /autoptr/arg-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/callable-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 5 /autoptr/callable-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/callback-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 6 /autoptr/callback-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/constant-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 7 /autoptr/constant-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/enum-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 8 /autoptr/enum-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/field-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 9 /autoptr/field-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/flags-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 10 /autoptr/flags-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/function-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 11 /autoptr/function-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/interface-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 12 /autoptr/interface-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/object-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 13 /autoptr/object-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/property-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 14 /autoptr/property-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/registered-type-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 15 /autoptr/registered-type-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/signal-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 16 /autoptr/signal-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/struct-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 17 /autoptr/struct-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/type-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 18 /autoptr/type-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/union-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 19 /autoptr/union-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/value-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 20 /autoptr/value-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/autoptr/vfunc-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 21 /autoptr/vfunc-info
1305s # End of autoptr tests
1305s # Start of auto tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/auto/arg-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 22 /auto/arg-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/auto/type-info/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 23 /auto/type-info
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_FTI612/auto/function-invoker/.dirs/runtime
1305s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1305s ok 24 /auto/function-invoker
1305s # End of auto tests
1305s ok - glib/autoptr-girepository.test
1305s # Running test: glib/object.test
1305s TAP version 14
1305s # random seed: R02Sb5a89b2e2a62dac3fd69bcacd32ffd30
1305s 1..2
1305s # Start of object tests
1305s # Start of constructor tests
1305s ok 1 /object/constructor/singleton
1305s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
1305s # End of constructor tests
1305s # End of object tests
1305s ok - glib/object.test
1305s # Running test: glib/gdbus-addresses.test
1305s TAP version 14
1305s # random seed: R02S263fa8e58e8089f461afdd10e7a5e40c
1305s 1..9
1305s # Start of gdbus tests
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/empty-address/.dirs/runtime
1305s ok 1 /gdbus/empty-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/unsupported-address/.dirs/runtime
1305s ok 2 /gdbus/unsupported-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/address-parsing/.dirs/runtime
1305s ok 3 /gdbus/address-parsing
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/unix-address/.dirs/runtime
1305s ok 4 /gdbus/unix-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/nonce-tcp-address/.dirs/runtime
1305s ok 5 /gdbus/nonce-tcp-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/tcp-address/.dirs/runtime
1305s ok 6 /gdbus/tcp-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/autolaunch-address/.dirs/runtime
1305s ok 7 /gdbus/autolaunch-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/mixed-address/.dirs/runtime
1305s ok 8 /gdbus/mixed-address
1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/home
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/cache
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/system-config2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/config
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/system-data2
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/data
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/state
1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_L42912/gdbus/escape-address/.dirs/runtime
1305s ok 9 /gdbus/escape-address
1305s # End of gdbus tests
1305s ok - glib/gdbus-addresses.test
1305s # Running test: glib/genmarshal.py.test
1306s TAP version 13
1306s ok 1 __main__.TestGenmarshal.test_empty_list
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpd67nl3_o
1306s # /tmp/tmpd67nl3_o/tmpr6auad72.list:
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd67nl3_o/tmpr6auad72.list', '--header', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # #include
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd67nl3_o/tmpr6auad72.list', '--body', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #include
1306s #
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s # Error:
1306s ok 2 __main__.TestGenmarshal.test_help
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpfq4gw59a
1306s # Running: ['/usr/bin/glib-genmarshal', '--help']
1306s # Return code: 0
1306s # Output:
1306s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
1306s # [--internal] [--valist-marshallers] [-v]
1306s # [--g-fatal-warnings] [--include-header [HEADER]]
1306s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
1306s # [--prototypes] [--header] [--body] [--stdinc |
1306s # --nostdinc] [--quiet | --verbose]
1306s # [FILE ...]
1306s #
1306s # Generate signal marshallers for GObject
1306s #
1306s # positional arguments:
1306s # FILE Files with lists of marshallers to generate, or "-"
1306s # for standard input
1306s #
1306s # options:
1306s # -h, --help show this help message and exit
1306s # --prefix STRING Specify marshaller prefix
1306s # --output FILE Write output into the specified file
1306s # --skip-source Skip source location comments
1306s # --internal Mark generated functions as internal
1306s # --valist-marshallers Generate va_list marshallers
1306s # -v, --version Print version information, and exit
1306s # --g-fatal-warnings Make warnings fatal
1306s # --include-header [HEADER]
1306s # Include the specified header in the body
1306s # --pragma-once Use "pragma once" as the inclusion guard
1306s # -D CPP_DEFINES Pre-processor define
1306s # -U CPP_UNDEFINES Pre-processor undefine
1306s # --prototypes Generate the marshallers prototype in the C code
1306s # --header Generate C headers
1306s # --body Generate C code
1306s # --stdinc Include standard marshallers
1306s # --nostdinc Use standard marshallers
1306s # --quiet Only print warnings and errors
1306s # --verbose Be verbose, and include debugging information
1306s # Error:
1306s ok 3 __main__.TestGenmarshal.test_no_args
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmp_jv3j6q7
1306s # Running: ['/usr/bin/glib-genmarshal']
1306s # Return code: 0
1306s # Output:
1306s #
1306s # Error:
1306s ok 4 __main__.TestGenmarshal.test_void_boolean
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpw5pu_i_c
1306s # /tmp/tmpw5pu_i_c/tmp_9q0l1jk.list: VOID:BOOLEAN
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw5pu_i_c/tmp_9q0l1jk.list', '--header', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # #include
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s # /* VOID:BOOLEAN (/tmp/tmpw5pu_i_c/tmp_9q0l1jk.list:1) */
1306s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw5pu_i_c/tmp_9q0l1jk.list', '--body', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #include
1306s #
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s # Error:
1306s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpu2cgz6h3
1306s # /tmp/tmpu2cgz6h3/tmp9h9xth45.list: VOID:BOOLEAN,INT64
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu2cgz6h3/tmp9h9xth45.list', '--header', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # #include
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s # /* VOID:BOOLEAN,INT64 (/tmp/tmpu2cgz6h3/tmp9h9xth45.list:1) */
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
1306s # GValue *return_value,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint,
1306s # gpointer marshal_data);
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu2cgz6h3/tmp9h9xth45.list', '--body', '--quiet']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #include
1306s #
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s #
1306s # /* VOID:BOOLEAN,INT64 (/tmp/tmpu2cgz6h3/tmp9h9xth45.list:1) */
1306s # void
1306s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint G_GNUC_UNUSED,
1306s # gpointer marshal_data)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
1306s # gboolean arg1,
1306s # gint64 arg2,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
1306s #
1306s # g_return_if_fail (n_param_values == 3);
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = g_value_peek_pointer (param_values + 0);
1306s # }
1306s # else
1306s # {
1306s # data1 = g_value_peek_pointer (param_values + 0);
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # g_marshal_value_peek_boolean (param_values + 1),
1306s # g_marshal_value_peek_int64 (param_values + 2),
1306s # data2);
1306s # }
1306s # Error:
1306s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpa4bfb021
1306s # /tmp/tmpa4bfb021/tmpb_dt8ig6.list: VOID:PARAM
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa4bfb021/tmpb_dt8ig6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s # /* VOID:PARAM (/tmp/tmpa4bfb021/tmpb_dt8ig6.list:1) */
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
1306s # GValue *return_value,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint,
1306s # gpointer marshal_data);
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
1306s # GValue *return_value,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types);
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa4bfb021/tmpb_dt8ig6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s #
1306s # /* VOID:PARAM (/tmp/tmpa4bfb021/tmpb_dt8ig6.list:1) */
1306s # void
1306s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint G_GNUC_UNUSED,
1306s # gpointer marshal_data)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__PARAM callback;
1306s #
1306s # g_return_if_fail (n_param_values == 2);
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = g_value_peek_pointer (param_values + 0);
1306s # }
1306s # else
1306s # {
1306s # data1 = g_value_peek_pointer (param_values + 0);
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # g_marshal_value_peek_param (param_values + 1),
1306s # data2);
1306s # }
1306s #
1306s # void
1306s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__PARAM callback;
1306s # gpointer arg0;
1306s # va_list args_copy;
1306s #
1306s # va_copy (args_copy, args);
1306s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # arg0 = g_param_spec_ref (arg0);
1306s # va_end (args_copy);
1306s #
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = instance;
1306s # }
1306s # else
1306s # {
1306s # data1 = instance;
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # arg0,
1306s # data2);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # g_param_spec_unref (arg0);
1306s # }
1306s # Error:
1306s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmpqfc09egg
1306s # /tmp/tmpqfc09egg/tmpsalyxb1f.list: VOID:STRING
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqfc09egg/tmpsalyxb1f.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s # /* VOID:STRING (/tmp/tmpqfc09egg/tmpsalyxb1f.list:1) */
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
1306s # GValue *return_value,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint,
1306s # gpointer marshal_data);
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
1306s # GValue *return_value,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types);
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqfc09egg/tmpsalyxb1f.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s #
1306s # /* VOID:STRING (/tmp/tmpqfc09egg/tmpsalyxb1f.list:1) */
1306s # void
1306s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint G_GNUC_UNUSED,
1306s # gpointer marshal_data)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__STRING callback;
1306s #
1306s # g_return_if_fail (n_param_values == 2);
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = g_value_peek_pointer (param_values + 0);
1306s # }
1306s # else
1306s # {
1306s # data1 = g_value_peek_pointer (param_values + 0);
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # g_marshal_value_peek_string (param_values + 1),
1306s # data2);
1306s # }
1306s #
1306s # void
1306s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__STRING callback;
1306s # gpointer arg0;
1306s # va_list args_copy;
1306s #
1306s # va_copy (args_copy, args);
1306s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # arg0 = g_strdup (arg0);
1306s # va_end (args_copy);
1306s #
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = instance;
1306s # }
1306s # else
1306s # {
1306s # data1 = instance;
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # arg0,
1306s # data2);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # g_free (arg0);
1306s # }
1306s # Error:
1306s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
1306s # glib-genmarshal: /usr/bin/glib-genmarshal
1306s # tmpdir: /tmp/tmp9iy_i_or
1306s # /tmp/tmp9iy_i_or/tmpp0belw3k.list: VOID:VARIANT
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9iy_i_or/tmpp0belw3k.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1306s #
1306s # G_BEGIN_DECLS
1306s #
1306s # /* VOID:VARIANT (/tmp/tmp9iy_i_or/tmpp0belw3k.list:1) */
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
1306s # GValue *return_value,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint,
1306s # gpointer marshal_data);
1306s # extern
1306s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
1306s # GValue *return_value,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types);
1306s #
1306s #
1306s # G_END_DECLS
1306s #
1306s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1306s # Error:
1306s #
1306s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9iy_i_or/tmpp0belw3k.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1306s # Return code: 0
1306s # Output:
1306s # /* 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. */
1306s # #ifdef G_ENABLE_DEBUG
1306s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1306s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1306s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1306s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1306s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1306s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1306s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1306s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1306s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1306s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1306s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1306s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1306s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1306s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1306s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1306s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1306s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1306s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1306s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1306s # #else /* !G_ENABLE_DEBUG */
1306s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1306s # * Do not access GValues directly in your code. Instead, use the
1306s # * g_value_get_*() functions
1306s # */
1306s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1306s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1306s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1306s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1306s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1306s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1306s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1306s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1306s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1306s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1306s # #endif /* !G_ENABLE_DEBUG */
1306s #
1306s # /* VOID:VARIANT (/tmp/tmp9iy_i_or/tmpp0belw3k.list:1) */
1306s # void
1306s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # guint n_param_values,
1306s # const GValue *param_values,
1306s # gpointer invocation_hint G_GNUC_UNUSED,
1306s # gpointer marshal_data)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__VARIANT callback;
1306s #
1306s # g_return_if_fail (n_param_values == 2);
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = g_value_peek_pointer (param_values + 0);
1306s # }
1306s # else
1306s # {
1306s # data1 = g_value_peek_pointer (param_values + 0);
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # g_marshal_value_peek_variant (param_values + 1),
1306s # data2);
1306s # }
1306s #
1306s # void
1306s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
1306s # GValue *return_value G_GNUC_UNUSED,
1306s # gpointer instance,
1306s # va_list args,
1306s # gpointer marshal_data,
1306s # int n_params,
1306s # GType *param_types)
1306s # {
1306s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
1306s # gpointer arg1,
1306s # gpointer data2);
1306s # GCClosure *cc = (GCClosure *) closure;
1306s # gpointer data1, data2;
1306s # GMarshalFunc_VOID__VARIANT callback;
1306s # gpointer arg0;
1306s # va_list args_copy;
1306s #
1306s # va_copy (args_copy, args);
1306s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # arg0 = g_variant_ref_sink (arg0);
1306s # va_end (args_copy);
1306s #
1306s #
1306s # if (G_CCLOSURE_SWAP_DATA (closure))
1306s # {
1306s # data1 = closure->data;
1306s # data2 = instance;
1306s # }
1306s # else
1306s # {
1306s # data1 = instance;
1306s # data2 = closure->data;
1306s # }
1306s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
1306s #
1306s # callback (data1,
1306s # arg0,
1306s # data2);
1306s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1306s # g_variant_unref (arg0);
1306s # }
1306s # Error:
1306s 1..8
1306s ok - glib/genmarshal.py.test
1306s # Running test: glib/unicode.test
1306s TAP version 14
1306s # random seed: R02S6da696a388748eda47ed769f2d0f7d70
1306s 1..39
1306s # Start of unicode tests
1306s ok 1 /unicode/alnum
1306s ok 2 /unicode/alpha
1306s ok 3 /unicode/break-type
1306s ok 4 /unicode/canonical-decomposition
1306s ok 5 /unicode/casefold
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s # Cannot set locale to lt_LT, skipping
1306s ok 6 /unicode/casemap_and_casefold
1306s ok 7 /unicode/cases
1306s ok 8 /unicode/character-type
1306s ok 9 /unicode/cntrl
1306s ok 10 /unicode/combining-class
1306s # Composing U+000041 and U+000042; expecting U+000000
1306s # Composing U+000041 and U+000000; expecting U+000000
1306s # Composing U+000066 and U+000069; expecting U+000000
1306s # Composing U+000308 and U+000301; expecting U+000000
1306s # Composing U+000f71 and U+000f72; expecting U+000000
1306s # Composing U+00212b and U+000000; expecting U+000000
1306s # Composing U+0000c5 and U+000000; expecting U+000000
1306s # Composing U+002126 and U+000000; expecting U+000000
1306s # Composing U+0003a9 and U+000000; expecting U+000000
1306s # Composing U+000041 and U+00030a; expecting U+0000c5
1306s # Composing U+00006f and U+000302; expecting U+0000f4
1306s # Composing U+001e63 and U+000307; expecting U+001e69
1306s # Composing U+000073 and U+000323; expecting U+001e63
1306s # Composing U+000064 and U+000307; expecting U+001e0b
1306s # Composing U+000064 and U+000323; expecting U+001e0d
1306s # Composing U+00d4cc and U+0011b6; expecting U+00d4db
1306s # Composing U+001111 and U+001171; expecting U+00d4cc
1306s # Composing U+00ce20 and U+0011b8; expecting U+00ce31
1306s # Composing U+00110e and U+001173; expecting U+00ce20
1306s # Composing U+001100 and U+001160; expecting U+000000
1306s # Composing U+001100 and U+001177; expecting U+000000
1306s # Composing U+00abff and U+0011b6; expecting U+000000
1306s # Composing U+00d7a5 and U+0011b6; expecting U+000000
1306s # Composing U+00ac01 and U+0011b6; expecting U+000000
1306s # Composing U+00d4cc and U+0011a6; expecting U+000000
1306s # Composing U+00d4cc and U+0011c4; expecting U+000000
1306s # Composing U+01611e and U+01611e; expecting U+016121
1306s # Composing U+01611e and U+01611f; expecting U+016123
1306s # Composing U+0000f6 and U+000304; expecting U+00022b
1306s # Composing U+000b47 and U+000b57; expecting U+000b4c
1306s # Composing U+0000a0 and U+000b57; expecting U+000000
1306s # Composing U+016e00 and U+00030a; expecting U+000000
1306s # Composing U+00212b and U+016e00; expecting U+000000
1306s # Composing U+001e63 and U+000306; expecting U+000000
1306s # Composing U+001e63 and U+000304; expecting U+000000
1306s # Composing U+001e63 and U+000b57; expecting U+000000
1306s # Composing U+001e63 and U+000000; expecting U+000000
1306s # Composing U+001e63 and U+0113c2; expecting U+000000
1306s # Composing U+001f01 and U+0113c2; expecting U+000000
1306s # Composing U+00006e and U+000302; expecting U+000000
1306s # Composing U+001e63 and U+01611f; expecting U+000000
1306s # Composing U+01138e and U+0113b8; expecting U+000000
1306s # Composing U+01611e and U+000000; expecting U+000000
1306s # Composing U+000000 and U+01611f; expecting U+000000
1306s # Composing U+011390 and U+0113c2; expecting U+000000
1306s ok 11 /unicode/compose
1306s ok 12 /unicode/decompose
1306s ok 13 /unicode/decompose-tail
1306s ok 14 /unicode/defined
1306s ok 15 /unicode/digit
1306s ok 16 /unicode/digit-value
1306s # Fully decomposing U+000041; expecting 1 codepoints
1306s # Fully decomposing U+00fb01; expecting 1 codepoints
1306s # Fully decomposing U+00212b; expecting 2 codepoints
1306s # Fully decomposing U+002126; expecting 1 codepoints
1306s # Fully decomposing U+000344; expecting 2 codepoints
1306s # Fully decomposing U+000f73; expecting 2 codepoints
1306s # Fully decomposing U+0000c5; expecting 2 codepoints
1306s # Fully decomposing U+0000f4; expecting 2 codepoints
1306s # Fully decomposing U+001e69; expecting 3 codepoints
1306s # Fully decomposing U+001e63; expecting 2 codepoints
1306s # Fully decomposing U+001e0b; expecting 2 codepoints
1306s # Fully decomposing U+001e0d; expecting 2 codepoints
1306s # Fully decomposing U+00d4db; expecting 3 codepoints
1306s # Fully decomposing U+00d4cc; expecting 2 codepoints
1306s # Fully decomposing U+00ce31; expecting 3 codepoints
1306s # Fully decomposing U+00ce20; expecting 2 codepoints
1306s ok 17 /unicode/fully-decompose-canonical
1306s ok 18 /unicode/fully-decompose-len
1306s ok 19 /unicode/normalization
1306s ok 20 /unicode/graph
1306s # Testing script Zyyy (code 1517910393)
1306s # Testing script Zinh (code 1516858984)
1306s # Testing script Zmth (code 1517122664)
1306s # Testing script Arab (code 1098015074)
1306s # Testing script Armn (code 1098018158)
1306s # Testing script Beng (code 1113943655)
1306s # Testing script Bopo (code 1114599535)
1306s # Testing script Cher (code 1130915186)
1306s # Testing script Copt (code 1131376756)
1306s # Testing script Cyrl (code 1132032620)
1306s # Testing script Dsrt (code 1148416628)
1306s # Testing script Deva (code 1147500129)
1306s # Testing script Ethi (code 1165256809)
1306s # Testing script Geor (code 1197830002)
1306s # Testing script Goth (code 1198486632)
1306s # Testing script Grek (code 1198679403)
1306s # Testing script Gujr (code 1198877298)
1306s # Testing script Guru (code 1198879349)
1306s # Testing script Hani (code 1214344809)
1306s # Testing script Hang (code 1214344807)
1306s # Testing script Hebr (code 1214603890)
1306s # Testing script Hira (code 1214870113)
1306s # Testing script Knda (code 1265525857)
1306s # Testing script Kana (code 1264676449)
1306s # Testing script Khmr (code 1265134962)
1306s # Testing script Laoo (code 1281453935)
1306s # Testing script Latn (code 1281455214)
1306s # Testing script Mlym (code 1298954605)
1306s # Testing script Mong (code 1299148391)
1306s # Testing script Mymr (code 1299803506)
1306s # Testing script Ogam (code 1332175213)
1306s # Testing script Ital (code 1232363884)
1306s # Testing script Orya (code 1332902241)
1306s # Testing script Runr (code 1383427698)
1306s # Testing script Sinh (code 1399418472)
1306s # Testing script Syrc (code 1400468067)
1306s # Testing script Taml (code 1415671148)
1306s # Testing script Telu (code 1415933045)
1306s # Testing script Thaa (code 1416126817)
1306s # Testing script Thai (code 1416126825)
1306s # Testing script Tibt (code 1416192628)
1306s # Testing script Cans (code 1130458739)
1306s # Testing script Yiii (code 1500080489)
1306s # Testing script Tglg (code 1416064103)
1306s # Testing script Hano (code 1214344815)
1306s # Testing script Buhd (code 1114990692)
1306s # Testing script Tagb (code 1415669602)
1306s # Testing script Brai (code 1114792297)
1306s # Testing script Cprt (code 1131442804)
1306s # Testing script Limb (code 1281977698)
1306s # Testing script Osma (code 1332964705)
1306s # Testing script Shaw (code 1399349623)
1306s # Testing script Linb (code 1281977954)
1306s # Testing script Tale (code 1415670885)
1306s # Testing script Ugar (code 1432838514)
1306s # Testing script Talu (code 1415670901)
1306s # Testing script Bugi (code 1114990441)
1306s # Testing script Glag (code 1198285159)
1306s # Testing script Tfng (code 1415999079)
1306s # Testing script Sylo (code 1400466543)
1306s # Testing script Xpeo (code 1483761007)
1306s # Testing script Khar (code 1265131890)
1306s # Testing script Zzzz (code 1517976186)
1306s # Testing script Bali (code 1113681001)
1306s # Testing script Xsux (code 1483961720)
1306s # Testing script Phnx (code 1349021304)
1306s # Testing script Phag (code 1349017959)
1306s # Testing script Nkoo (code 1315663727)
1306s # Testing script Kali (code 1264675945)
1306s # Testing script Lepc (code 1281716323)
1306s # Testing script Rjng (code 1382706791)
1306s # Testing script Sund (code 1400204900)
1306s # Testing script Saur (code 1398895986)
1306s # Testing script Cham (code 1130914157)
1306s # Testing script Olck (code 1332503403)
1306s # Testing script Vaii (code 1449224553)
1306s # Testing script Cari (code 1130459753)
1306s # Testing script Lyci (code 1283023721)
1306s # Testing script Lydi (code 1283023977)
1306s # Testing script Avst (code 1098281844)
1306s # Testing script Bamu (code 1113681269)
1306s # Testing script Egyp (code 1164409200)
1306s # Testing script Armi (code 1098018153)
1306s # Testing script Phli (code 1349020777)
1306s # Testing script Prti (code 1349678185)
1306s # Testing script Java (code 1247901281)
1306s # Testing script Kthi (code 1265920105)
1306s # Testing script Lisu (code 1281979253)
1306s # Testing script Mtei (code 1299473769)
1306s # Testing script Sarb (code 1398895202)
1306s # Testing script Orkh (code 1332898664)
1306s # Testing script Samr (code 1398893938)
1306s # Testing script Lana (code 1281453665)
1306s # Testing script Tavt (code 1415673460)
1306s # Testing script Batk (code 1113683051)
1306s # Testing script Brah (code 1114792296)
1306s # Testing script Mand (code 1298230884)
1306s # Testing script Cakm (code 1130457965)
1306s # Testing script Merc (code 1298494051)
1306s # Testing script Mero (code 1298494063)
1306s # Testing script Plrd (code 1349284452)
1306s # Testing script Shrd (code 1399353956)
1306s # Testing script Sora (code 1399812705)
1306s # Testing script Takr (code 1415670642)
1306s # Testing script Bass (code 1113682803)
1306s # Testing script Aghb (code 1097295970)
1306s # Testing script Dupl (code 1148547180)
1306s # Testing script Elba (code 1164730977)
1306s # Testing script Gran (code 1198678382)
1306s # Testing script Khoj (code 1265135466)
1306s # Testing script Sind (code 1399418468)
1306s # Testing script Lina (code 1281977953)
1306s # Testing script Mahj (code 1298229354)
1306s # Testing script Mani (code 1298230889)
1306s # Testing script Mend (code 1298493028)
1306s # Testing script Modi (code 1299145833)
1306s # Testing script Mroo (code 1299345263)
1306s # Testing script Nbat (code 1315070324)
1306s # Testing script Narb (code 1315009122)
1306s # Testing script Perm (code 1348825709)
1306s # Testing script Hmng (code 1215131239)
1306s # Testing script Palm (code 1348562029)
1306s # Testing script Pauc (code 1348564323)
1306s # Testing script Phlp (code 1349020784)
1306s # Testing script Sidd (code 1399415908)
1306s # Testing script Tirh (code 1416196712)
1306s # Testing script Wara (code 1466004065)
1306s # Testing script Ahom (code 1097363309)
1306s # Testing script Hluw (code 1215067511)
1306s # Testing script Hatr (code 1214346354)
1306s # Testing script Mult (code 1299541108)
1306s # Testing script Hung (code 1215655527)
1306s # Testing script Sgnw (code 1399287415)
1306s # Testing script Adlm (code 1097100397)
1306s # Testing script Bhks (code 1114139507)
1306s # Testing script Marc (code 1298231907)
1306s # Testing script Newa (code 1315272545)
1306s # Testing script Osge (code 1332963173)
1306s # Testing script Tang (code 1415671399)
1306s # Testing script Gonm (code 1198485101)
1306s # Testing script Nshu (code 1316186229)
1306s # Testing script Soyo (code 1399814511)
1306s # Testing script Zanb (code 1516334690)
1306s # Testing script Dogr (code 1148151666)
1306s # Testing script Gong (code 1198485095)
1306s # Testing script Rohg (code 1383032935)
1306s # Testing script Maka (code 1298230113)
1306s # Testing script Medf (code 1298490470)
1306s # Testing script Sogo (code 1399809903)
1306s # Testing script Sogd (code 1399809892)
1306s # Testing script Elym (code 1164736877)
1306s # Testing script Nand (code 1315008100)
1306s # Testing script Hmnp (code 1215131248)
1306s # Testing script Wcho (code 1466132591)
1306s # Testing script Chrs (code 1130918515)
1306s # Testing script Diak (code 1147756907)
1306s # Testing script Kits (code 1265202291)
1306s # Testing script Yezi (code 1499822697)
1306s # Testing script Cpmn (code 1131441518)
1306s # Testing script Ougr (code 1333094258)
1306s # Testing script Tnsa (code 1416524641)
1306s # Testing script Toto (code 1416590447)
1306s # Testing script Vith (code 1449751656)
1306s # Testing script Kawi (code 1264678761)
1306s # Testing script Nagm (code 1315006317)
1306s # Testing script Todr (code 1416586354)
1306s # Testing script Gara (code 1197568609)
1306s # Testing script Tutg (code 1416983655)
1306s # Testing script Sunu (code 1400204917)
1306s # Testing script Gukh (code 1198877544)
1306s # Testing script Krai (code 1265787241)
1306s # Testing script Onao (code 1332633967)
1306s ok 21 /unicode/iso15924
1306s ok 22 /unicode/lower
1306s ok 23 /unicode/mark
1306s ok 24 /unicode/mirror
1306s ok 25 /unicode/print
1306s ok 26 /unicode/punctuation
1306s ok 27 /unicode/script
1306s ok 28 /unicode/space
1306s ok 29 /unicode/strdown
1306s ok 30 /unicode/strup
1306s ok 31 /unicode/turkish-strupdown
1306s ok 32 /unicode/title
1306s ok 33 /unicode/upper
1306s ok 34 /unicode/validate
1306s ok 35 /unicode/wide
1306s ok 36 /unicode/xdigit
1306s ok 37 /unicode/xdigit-value
1306s ok 38 /unicode/zero-width
1306s ok 39 /unicode/normalize
1306s # End of unicode tests
1306s ok - glib/unicode.test
1306s # Running test: glib/enums.test
1306s TAP version 14
1306s # random seed: R02Se09e5fc0574f2613fc177a9838ddceb9
1306s 1..4
1306s # Start of enum tests
1306s ok 1 /enum/basic
1306s ok 2 /enum/define-type
1306s # End of enum tests
1306s # Start of flags tests
1306s ok 3 /flags/basic
1306s ok 4 /flags/define-type
1306s # End of flags tests
1306s ok - glib/enums.test
1306s # Running test: glib/ifaceproperties.test
1306s TAP version 14
1306s # random seed: R02Sb2f2bcf57c0859230ef3df033efd5b09
1306s 1..7
1306s # Start of interface tests
1306s # Start of properties tests
1306s ok 1 /interface/properties/set
1306s ok 2 /interface/properties/notify
1306s ok 3 /interface/properties/find-overridden
1306s ok 4 /interface/properties/list-overridden
1306s ok 5 /interface/properties/find-interface
1306s ok 6 /interface/properties/list-interface
1306s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
1306s ok 7 /interface/properties/not-overridden
1306s # End of properties tests
1306s # End of interface tests
1306s ok - glib/ifaceproperties.test
1306s # Running test: glib/hostutils.test
1306s TAP version 14
1306s # random seed: R02S2f9db45df1c6203c64ac40cc837dab88
1306s 1..3
1306s # Start of hostutils tests
1306s ok 1 /hostutils/to_ascii
1306s ok 2 /hostutils/to_unicode
1306s ok 3 /hostutils/is_ip_addr
1306s # End of hostutils tests
1306s ok - glib/hostutils.test
1306s # Running test: glib/types.test
1306s TAP version 14
1306s # random seed: R02Sd830dd2e8da407c715e02504d5614cb9
1306s 1..1
1306s # Start of types tests
1306s ok 1 /types/basic_types
1306s # End of types tests
1306s ok - glib/types.test
1306s # Running test: glib/thumbnail-verification.test
1306s TAP version 14
1306s # random seed: R02S9920449f8fcb8fbae5b3a3adf12b1de8
1306s 1..1
1306s # Start of png-thumbs tests
1306s ok 1 /png-thumbs/validity
1306s # End of png-thumbs tests
1306s ok - glib/thumbnail-verification.test
1306s # Running test: glib/bytes.test
1306s TAP version 14
1306s # random seed: R02S0479368e66caa912ad52119e2ffdce75
1306s 1..21
1306s # Start of bytes tests
1306s ok 1 /bytes/new
1306s ok 2 /bytes/new-take
1306s ok 3 /bytes/new-static
1306s ok 4 /bytes/new-with-free-func
1306s ok 5 /bytes/new-from-bytes
1306s ok 6 /bytes/new-from-bytes-slice
1306s ok 7 /bytes/new-from-bytes-shared-ref
1306s ok 8 /bytes/hash
1306s ok 9 /bytes/equal
1306s ok 10 /bytes/compare
1306s ok 11 /bytes/null
1306s ok 12 /bytes/get-region
1306s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
1306s ok 13 /bytes/unref-null
1306s # Start of to-data tests
1306s ok 14 /bytes/to-data/transferred
1306s ok 15 /bytes/to-data/two-refs
1306s ok 16 /bytes/to-data/non-malloc
1306s ok 17 /bytes/to-data/different-free-func
1306s # End of to-data tests
1306s # Start of to-array tests
1306s ok 18 /bytes/to-array/transferred
1306s ok 19 /bytes/to-array/two-refs
1306s ok 20 /bytes/to-array/non-malloc
1306s # Start of transferred tests
1306s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
1306s ok 21 /bytes/to-array/transferred/oversize
1306s # End of transferred tests
1306s # End of to-array tests
1306s # End of bytes tests
1306s ok - glib/bytes.test
1306s # Running test: glib/callable-info.test
1306s TAP version 14
1306s # random seed: R02S9a55e8cb0a118b21f6d08a6a88759048
1306s 1..5
1306s # Start of callable-info tests
1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/home
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/cache
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/system-config2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/config
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/system-data2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/data
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/state
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_5AQ712/callable-info/sync-function/.dirs/runtime
1306s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1306s ok 1 /callable-info/sync-function
1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/home
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/cache
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/system-config2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/config
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/system-data2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/data
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/state
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_5AQ712/callable-info/async-function/.dirs/runtime
1306s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1306s ok 2 /callable-info/async-function
1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/home
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/cache
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/system-config2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/config
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/system-data2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/data
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/state
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_5AQ712/callable-info/is-method/.dirs/runtime
1306s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1306s ok 3 /callable-info/is-method
1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/home
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/cache
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/system-config2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/config
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/system-data2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/data
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/state
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_5AQ712/callable-info/static-method/.dirs/runtime
1306s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1306s ok 4 /callable-info/static-method
1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/home
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/cache
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/system-config2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/config
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/system-data2
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/data
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/state
1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_5AQ712/callable-info/static-vfunc/.dirs/runtime
1306s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1306s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361
1306s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough
1306s # End of callable-info tests
1306s ok - glib/callable-info.test
1306s # Running test: glib/memory-monitor-dbus.test
1307s TAP version 13
1307s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
1307s 1..1
1307s ok - glib/memory-monitor-dbus.test
1307s # Running test: glib/throws.test
1307s TAP version 14
1307s # random seed: R02S5fcd55921faf7bc01d965ebec8f284c4
1307s 1..3
1307s # Start of throws tests
1307s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/home
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/cache
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/system-config2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/config
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/system-data2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/data
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/state
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U8VF22/throws/invoke-gerror/.dirs/runtime
1307s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1307s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
1307s ok 1 /throws/invoke-gerror
1307s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/home
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/cache
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/system-config2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/config
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/system-data2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/data
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/state
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U8VF22/throws/vfunc-can-throw-gerror/.dirs/runtime
1307s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1307s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
1307s ok 2 /throws/vfunc-can-throw-gerror
1307s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/home
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/cache
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/system-config2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/config
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/system-data2
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/data
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/state
1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U8VF22/throws/callback-can-throw-gerror/.dirs/runtime
1307s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1307s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
1307s ok 3 /throws/callback-can-throw-gerror
1307s # End of throws tests
1307s ok - glib/throws.test
1307s # Running test: glib/application-command-line.test
1307s TAP version 14
1307s # random seed: R02S6b9c2dade80af463911082a47673f085
1307s 1..1
1307s # Start of application-command-line tests
1307s ok 1 /application-command-line/basic-properties
1307s # End of application-command-line tests
1307s ok - glib/application-command-line.test
1307s # Running test: glib/utf8-pointer.test
1307s TAP version 14
1307s # random seed: R02Sbc6f0337ca2b9a9c27cd6cde46c59432
1307s 1..3
1307s # Start of utf8 tests
1308s ok 1 /utf8/offsets
1308s # slow test /utf8/offsets executed in 0.84 secs
1308s ok 2 /utf8/lengths
1308s ok 3 /utf8/find
1308s # End of utf8 tests
1308s ok - glib/utf8-pointer.test
1308s # Running test: glib/gi-inspect-typelib.py.test
1308s TAP version 13
1308s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpy_gzk2ud
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--help']
1308s # Return code: 0
1308s # Output:
1308s # Usage:
1308s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib
1308s #
1308s # Help Options:
1308s # -h, --help Show help options
1308s #
1308s # Application Options:
1308s # --typelib-version=VERSION Typelib version to inspect
1308s # --print-shlibs List the shared libraries the typelib requires
1308s # --print-typelibs List other typelibs the inspected typelib requires
1308s # Error:
1308s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpztfgdu4e
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace']
1308s # Return code: 1
1308s # Output:
1308s #
1308s # Error:
1308s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found
1308s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpbzn0q706
1308s # Running: ['/usr/bin/gi-inspect-typelib']
1308s # Return code: 1
1308s # Output:
1308s #
1308s # Error:
1308s # Please specify exactly one namespace
1308s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpd_n96bx_
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgobject-2.0.so.0
1308s # shlib: libglib-2.0.so.0
1308s # Error:
1308s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpghj4r1xl
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s #
1308s # Error:
1308s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmpvi7o3cih
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgobject-2.0.so.0
1308s # shlib: libglib-2.0.so.0
1308s # Error:
1308s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmplosbd0zv
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgobject-2.0.so.0
1308s # Error:
1308s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmp2b0l2jsc
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # typelib: GLib-2.0
1308s # Error:
1308s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmp33pzgf5k
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgobject-2.0.so.0
1308s # typelib: GLib-2.0
1308s # Error:
1308s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmplgm_bseh
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgio-2.0.so.0
1308s # Error:
1308s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmp204krv16
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # typelib: GObject-2.0
1308s # typelib: GLib-2.0
1308s # typelib: GModule-2.0
1308s # Error:
1308s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs
1308s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1308s # tmpdir: /tmp/tmplldocmyk
1308s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0']
1308s # Return code: 0
1308s # Output:
1308s # shlib: libgio-2.0.so.0
1308s # typelib: GObject-2.0
1308s # typelib: GLib-2.0
1308s # typelib: GModule-2.0
1308s # Error:
1308s 1..12
1308s ok - glib/gi-inspect-typelib.py.test
1308s # Running test: glib/param.test
1308s TAP version 14
1308s # random seed: R02Sa9c968d11df192ea21ce7352cb12ba27
1308s 1..32
1308s # Start of param tests
1308s ok 1 /param/value
1308s ok 2 /param/strings
1308s ok 3 /param/qdata
1308s ok 4 /param/validate
1308s ok 5 /param/convert
1308s ok 6 /param/implement # SKIP Skipping slow /param/implement test
1308s ok 7 /param/default
1308s ok 8 /param/is-valid-name
1308s # Start of invalid-name tests
1308s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
1308s ok 9 /param/invalid-name/colon
1308s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
1308s ok 10 /param/invalid-name/first-char
1308s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
1308s ok 11 /param/invalid-name/empty
1308s # End of invalid-name tests
1308s # Start of implement tests
1308s # Start of subprocess tests
1308s # End of subprocess tests
1308s # End of implement tests
1308s # End of param tests
1308s # Start of value tests
1308s ok 12 /value/transform
1308s # End of value tests
1308s # Start of paramspec tests
1308s ok 13 /paramspec/char
1308s ok 14 /paramspec/uchar
1308s ok 15 /paramspec/int
1308s ok 16 /paramspec/uint
1308s ok 17 /paramspec/long
1308s ok 18 /paramspec/ulong
1308s ok 19 /paramspec/int64
1308s ok 20 /paramspec/uint64
1308s ok 21 /paramspec/float
1308s ok 22 /paramspec/double
1308s ok 23 /paramspec/unichar
1308s ok 24 /paramspec/param
1308s ok 25 /paramspec/null-param
1308s ok 26 /paramspec/string
1308s ok 27 /paramspec/override
1308s ok 28 /paramspec/gtype
1308s ok 29 /paramspec/variant
1308s ok 30 /paramspec/custom
1308s ok 31 /paramspec/pool
1308s # Start of variant tests
1308s ok 32 /paramspec/variant/cmp
1308s # End of variant tests
1308s # End of paramspec tests
1308s ok - glib/param.test
1308s # Running test: glib/unicode-encoding.test
1308s TAP version 14
1308s # random seed: R02S3cc379418d845de1733597159ad7c730
1308s 1..1
1308s # Start of unicode tests
1308s ok 1 /unicode/encoding
1308s # End of unicode tests
1308s ok - glib/unicode-encoding.test
1308s # Running test: glib/markup-parse.test
1308s TAP version 14
1308s # random seed: R02Sec4423bdf50bff3a0430496dd3015b10
1308s 1..71
1308s # Start of markup tests
1308s # Start of parse tests
1308s ok 1 /markup/parse/fail-20.gmarkup
1308s ok 2 /markup/parse/fail-17.gmarkup
1308s ok 3 /markup/parse/fail-9.gmarkup
1308s ok 4 /markup/parse/fail-5.gmarkup
1308s ok 5 /markup/parse/fail-24.gmarkup
1308s ok 6 /markup/parse/fail-26.gmarkup
1308s ok 7 /markup/parse/valid-17.gmarkup
1308s ok 8 /markup/parse/valid-9.gmarkup
1308s ok 9 /markup/parse/fail-45.gmarkup
1308s ok 10 /markup/parse/fail-14.gmarkup
1308s ok 11 /markup/parse/fail-48.gmarkup
1308s ok 12 /markup/parse/fail-35.gmarkup
1308s ok 13 /markup/parse/fail-28.gmarkup
1308s ok 14 /markup/parse/fail-1.gmarkup
1308s ok 15 /markup/parse/fail-27.gmarkup
1308s ok 16 /markup/parse/valid-13.gmarkup
1308s ok 17 /markup/parse/fail-37.gmarkup
1308s ok 18 /markup/parse/valid-8.gmarkup
1308s ok 19 /markup/parse/valid-2.gmarkup
1308s ok 20 /markup/parse/fail-47.gmarkup
1308s ok 21 /markup/parse/fail-4.gmarkup
1308s ok 22 /markup/parse/fail-50.gmarkup
1308s ok 23 /markup/parse/fail-6.gmarkup
1308s ok 24 /markup/parse/fail-49.gmarkup
1308s ok 25 /markup/parse/fail-30.gmarkup
1308s ok 26 /markup/parse/fail-25.gmarkup
1308s ok 27 /markup/parse/fail-41.gmarkup
1308s ok 28 /markup/parse/valid-3.gmarkup
1308s ok 29 /markup/parse/fail-18.gmarkup
1308s ok 30 /markup/parse/fail-8.gmarkup
1308s ok 31 /markup/parse/valid-5.gmarkup
1308s ok 32 /markup/parse/fail-7.gmarkup
1308s ok 33 /markup/parse/valid-15.gmarkup
1308s ok 34 /markup/parse/fail-44.gmarkup
1308s ok 35 /markup/parse/fail-34.gmarkup
1308s ok 36 /markup/parse/fail-31.gmarkup
1308s ok 37 /markup/parse/fail-22.gmarkup
1308s ok 38 /markup/parse/fail-38.gmarkup
1308s ok 39 /markup/parse/fail-12.gmarkup
1308s ok 40 /markup/parse/fail-13.gmarkup
1308s ok 41 /markup/parse/fail-42.gmarkup
1308s ok 42 /markup/parse/fail-16.gmarkup
1308s ok 43 /markup/parse/valid-11.gmarkup
1308s ok 44 /markup/parse/fail-36.gmarkup
1308s ok 45 /markup/parse/fail-52.gmarkup
1308s ok 46 /markup/parse/valid-10.gmarkup
1308s ok 47 /markup/parse/valid-4.gmarkup
1308s ok 48 /markup/parse/fail-54.gmarkup
1308s ok 49 /markup/parse/fail-11.gmarkup
1308s ok 50 /markup/parse/fail-32.gmarkup
1308s ok 51 /markup/parse/valid-12.gmarkup
1308s ok 52 /markup/parse/fail-39.gmarkup
1308s ok 53 /markup/parse/valid-6.gmarkup
1308s ok 54 /markup/parse/fail-53.gmarkup
1308s ok 55 /markup/parse/fail-29.gmarkup
1308s ok 56 /markup/parse/fail-33.gmarkup
1308s ok 57 /markup/parse/fail-19.gmarkup
1308s ok 58 /markup/parse/fail-46.gmarkup
1308s ok 59 /markup/parse/valid-7.gmarkup
1308s ok 60 /markup/parse/valid-16.gmarkup
1308s ok 61 /markup/parse/valid-1.gmarkup
1308s ok 62 /markup/parse/fail-2.gmarkup
1308s ok 63 /markup/parse/fail-21.gmarkup
1308s ok 64 /markup/parse/valid-14.gmarkup
1308s ok 65 /markup/parse/fail-51.gmarkup
1308s ok 66 /markup/parse/fail-40.gmarkup
1308s ok 67 /markup/parse/fail-43.gmarkup
1308s ok 68 /markup/parse/fail-23.gmarkup
1308s ok 69 /markup/parse/fail-15.gmarkup
1308s ok 70 /markup/parse/fail-10.gmarkup
1308s ok 71 /markup/parse/fail-3.gmarkup
1308s # End of parse tests
1308s # End of markup tests
1308s ok - glib/markup-parse.test
1308s # Running test: glib/sort.test
1308s TAP version 14
1308s # random seed: R02S6dc1bcca41145b8bebfbe72b319adcfa
1308s 1..5
1308s # Start of sort tests
1308s ok 1 /sort/basic
1308s ok 2 /sort/zero-elements
1308s ok 3 /sort/stable
1308s ok 4 /sort/big
1308s ok 5 /sort/deprecated
1308s # End of sort tests
1308s ok - glib/sort.test
1308s # Running test: glib/cond.test
1308s TAP version 14
1308s # random seed: R02Saf0c70e540fa5bb7db5f4a3b7565f01c
1308s 1..4
1308s # Start of thread tests
1308s ok 1 /thread/cond1
1308s ok 2 /thread/cond2
1308s # Start of cond tests
1308s # Executing: glib/cond.test
1309s ok 3 /thread/cond/wait-until
1309s # slow test /thread/cond/wait-until executed in 1.02 secs
1309s # Start of wait-until tests
1309s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
1310s ok 4 /thread/cond/wait-until/contended-and-interrupted
1310s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs
1310s # End of wait-until tests
1310s # End of cond tests
1310s # End of thread tests
1310s ok - glib/cond.test
1310s # Running test: glib/signals-refcount3.test
1310s TAP version 14
1310s # random seed: R02S2c967c4404d308e7516fe5ded0f295a9
1310s 1..1
1310s # Start of gobject tests
1310s # Start of refcount tests
1310s # init 0x15c096e4f120
1310s #
1310s # init 0x15c096e4f2c0
1310s #
1313s # Executing: glib/signals-refcount3.test
1315s # dispose 0x15c096e4f120!
1315s #
1315s # dispose 0x15c096e4f2c0!
1315s #
1315s ok 1 /gobject/refcount/signals
1315s # slow test /gobject/refcount/signals executed in 5.00 secs
1315s # End of refcount tests
1315s # End of gobject tests
1315s ok - glib/signals-refcount3.test
1315s # Running test: glib/accumulator.test
1315s TAP version 14
1315s # random seed: R02S3672ef350530ecbde79283b00f125d49
1315s 1..1
1315s # Start of gobject tests
1315s ok 1 /gobject/accumulator
1315s # End of gobject tests
1315s ok - glib/accumulator.test
1315s # Running test: glib/glistmodel.test
1315s TAP version 14
1315s # random seed: R02Sd4c9a9131da25d10e114b420cb760942
1315s 1..18
1315s # Start of glistmodel tests
1315s # Start of store tests
1315s ok 1 /glistmodel/store/properties
1315s ok 2 /glistmodel/store/non-gobjects
1315s ok 3 /glistmodel/store/boundaries
1315s ok 4 /glistmodel/store/refcounts
1315s ok 5 /glistmodel/store/sorted
1315s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
1315s ok 6 /glistmodel/store/splice-replace-middle
1315s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
1315s ok 7 /glistmodel/store/splice-replace-all
1315s ok 8 /glistmodel/store/splice-noop
1315s ok 9 /glistmodel/store/splice-remove-multiple
1315s ok 10 /glistmodel/store/splice-add-multiple
1315s ok 11 /glistmodel/store/splice-wrong-type
1315s ok 12 /glistmodel/store/item-type
1315s ok 13 /glistmodel/store/remove-all
1315s ok 14 /glistmodel/store/sort
1315s ok 15 /glistmodel/store/get-item-cache
1315s ok 16 /glistmodel/store/items-changed
1315s ok 17 /glistmodel/store/past-end
1315s ok 18 /glistmodel/store/find
1315s # End of store tests
1315s # End of glistmodel tests
1315s ok - glib/glistmodel.test
1315s # Running test: glib/gnotification.test
1315s TAP version 14
1315s # random seed: R02Sa55948a37153a4088bcabc1da5fc5ba2
1315s 1..2
1315s # Start of gnotification tests
1315s ok 1 /gnotification/basic
1315s ok 2 /gnotification/properties
1315s # End of gnotification tests
1315s ok - glib/gnotification.test
1315s # Running test: glib/properties-introspection.test
1315s TAP version 14
1315s # random seed: R02S8bf20196b3a2ef7173bfda0fac9395ed
1315s 1..2
1315s # Start of properties tests
1315s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
1315s ok 1 /properties/introspection
1315s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
1315s ok 2 /properties/collision
1315s # End of properties tests
1315s ok - glib/properties-introspection.test
1315s # Running test: glib/refstring.test
1315s TAP version 14
1315s # random seed: R02S7b660b25c5b153271f8c06af17095a04
1315s 1..8
1315s # Start of refstring tests
1315s # s = 'hello, world' (0x153cd73f83b0)
1315s ok 1 /refstring/base
1315s ok 2 /refstring/length
1315s ok 3 /refstring/length-auto
1315s ok 4 /refstring/length-nuls
1315s # s = 'hello, world' (0x153cd73f8300)
1315s # p = s = 'hello, world' (0x153cd73f8300)
1315s # releasing p[0x153cd73f8300] ('hello, world')
1315s # p = 'goodbye, world' (0x153cd73f83b0)
1315s # releasing p[0x153cd73f83b0] ('goodbye, world')
1315s # releasing s[0x153cd73f8300] ('hello, world')
1315s ok 5 /refstring/intern
1315s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable
1315s ok 6 /refstring/hash_equal
1315s # /refstring/equal summary: Test g_ref_string_equal() standalone
1315s ok 7 /refstring/equal
1317s ok 8 /refstring/intern-thread-safety
1317s # slow test /refstring/intern-thread-safety executed in 2.26 secs
1317s # End of refstring tests
1317s ok - glib/refstring.test
1317s # Running test: glib/pollable.test
1317s TAP version 14
1317s # random seed: R02S1f889474787bc033adeb85149e3cb374
1317s 1..6
1317s # Start of pollable tests
1317s ok 1 /pollable/converter
1317s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1317s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1676f127f120 and GSocketClientAsyncConnectData 0x1676f1272750
1317s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1317s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1317s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1676f1280190 for GSocketClientAsyncConnectData 0x1676f1272750
1317s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1317s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1317s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1317s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1317s ok 2 /pollable/socket
1317s # Start of unix tests
1317s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
1317s ok 3 /pollable/unix/pipe
1317s # /pollable/unix/pty summary: Test that PTYs are considered pollable
1317s ok 4 /pollable/unix/pty
1317s # /pollable/unix/file summary: Test that regular files are not considered pollable
1317s ok 5 /pollable/unix/file
1317s # /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
1317s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system
1317s # End of unix tests
1317s # End of pollable tests
1317s ok - glib/pollable.test
1317s # Running test: glib/keyfile.test
1317s TAP version 14
1317s # random seed: R02S748db092e05ab38eaa03723b88209d03
1317s 1..36
1317s # Start of keyfile tests
1317s ok 1 /keyfile/line-ends
1317s ok 2 /keyfile/whitespace
1317s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1317s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
1317s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1317s ok 3 /keyfile/comments
1317s ok 4 /keyfile/listing
1317s ok 5 /keyfile/string
1317s ok 6 /keyfile/boolean
1317s ok 7 /keyfile/number
1317s ok 8 /keyfile/locale-string
1317s ok 9 /keyfile/lists
1317s ok 10 /keyfile/lists-set-get
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
1317s ok 11 /keyfile/group-remove
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
1317s ok 12 /keyfile/key-remove
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
1317s ok 13 /keyfile/groups
1317s ok 14 /keyfile/duplicate-keys
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
1317s ok 15 /keyfile/duplicate-groups
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
1317s ok 16 /keyfile/duplicate-groups2
1317s ok 17 /keyfile/group-names
1317s ok 18 /keyfile/key-names
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
1317s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
1317s ok 19 /keyfile/reload
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864
1317s ok 20 /keyfile/int64
1317s ok 21 /keyfile/load
1317s ok 22 /keyfile/save
1317s ok 23 /keyfile/load-fail
1317s ok 24 /keyfile/non-utf8
1317s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
1317s ok 25 /keyfile/page-boundary
1317s ok 26 /keyfile/ref
1317s ok 27 /keyfile/replace-value
1317s ok 28 /keyfile/list-separator
1317s ok 29 /keyfile/empty-string
1317s ok 30 /keyfile/limbo
1317s # Testing invalid encoding ?non-UTF-8?
1317s # Testing invalid encoding ?UTF?
1317s # Testing invalid encoding ?UTF-9?
1317s ok 31 /keyfile/utf8
1317s ok 32 /keyfile/roundtrip
1317s ok 33 /keyfile/bytes
1317s ok 34 /keyfile/get-locale
1317s ok 35 /keyfile/free-when-not-last-ref
1317s # Start of locale-string tests
1317s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
1317s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
1317s ok 36 /keyfile/locale-string/multiple-loads
1317s # End of locale-string tests
1317s # End of keyfile tests
1317s ok - glib/keyfile.test
1317s # Running test: glib/mutex.test
1317s TAP version 14
1317s # random seed: R02S02b18bd8985c36fa86fa2ab52677a74b
1317s 1..17
1317s # Start of thread tests
1317s ok 1 /thread/mutex1
1317s ok 2 /thread/mutex2
1317s ok 3 /thread/mutex3
1317s ok 4 /thread/mutex4
1318s # Executing: glib/mutex.test
1323s ok 5 /thread/mutex5
1323s # slow test /thread/mutex5 executed in 5.93 secs
1323s # Start of mutex tests
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1323s # Executing: glib/mutex.test
1324s ok 6 /thread/mutex/errno
1324s # Start of perf tests
1324s # max perf: inf mips
1324s ok 7 /thread/mutex/perf/uncontended
1324s # Start of contended tests
1324s # max perf: inf mips
1324s ok 8 /thread/mutex/perf/contended/1
1324s # max perf: 3.000000 mips
1324s ok 9 /thread/mutex/perf/contended/2
1324s # max perf: inf mips
1324s ok 10 /thread/mutex/perf/contended/3
1324s # max perf: inf mips
1324s ok 11 /thread/mutex/perf/contended/4
1324s # max perf: 0.857143 mips
1324s ok 12 /thread/mutex/perf/contended/5
1324s # max perf: 3.500000 mips
1324s ok 13 /thread/mutex/perf/contended/6
1324s # max perf: 2.666667 mips
1324s ok 14 /thread/mutex/perf/contended/7
1324s # max perf: 4.500000 mips
1324s ok 15 /thread/mutex/perf/contended/8
1324s # max perf: 2.500000 mips
1324s ok 16 /thread/mutex/perf/contended/9
1324s # max perf: 5.500000 mips
1324s ok 17 /thread/mutex/perf/contended/10
1324s # End of contended tests
1324s # End of perf tests
1324s # End of mutex tests
1324s # End of thread tests
1324s ok - glib/mutex.test
1324s # Running test: glib/properties-refcount2.test
1324s TAP version 14
1324s # random seed: R02S11bd3b8dadfe24b42e2df7a30916d8c6
1324s 1..1
1324s # Start of gobject tests
1324s # Start of refcount tests
1324s # init 0x837eb74e470
1324s #
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1324s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1325s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1326s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # .
1327s # dispose 0x837eb74e470!
1327s #
1327s ok 1 /gobject/refcount/properties-2
1327s # slow test /gobject/refcount/properties-2 executed in 3.52 secs
1327s # End of refcount tests
1327s # End of gobject tests
1327s ok - glib/properties-refcount2.test
1327s # Running test: glib/base64.test
1327s TAP version 14
1327s # random seed: R02Sdec066cb9f801f0496a28c06c2973f5a
1327s 1..28
1327s # Start of base64 tests
1327s ok 1 /base64/encode
1327s ok 2 /base64/decode
1327s ok 3 /base64/decode-inplace
1327s ok 4 /base64/encode-decode
1327s # Start of full tests
1327s ok 5 /base64/full/1
1327s ok 6 /base64/full/2
1327s ok 7 /base64/full/3
1327s ok 8 /base64/full/4
1327s # End of full tests
1327s # Start of encode tests
1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
1327s ok 9 /base64/encode/empty
1327s # Start of incremental tests
1327s # Start of small-block tests
1327s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1327s ok 10 /base64/encode/incremental/small-block/1
1327s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1327s ok 11 /base64/encode/incremental/small-block/2
1327s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1327s ok 12 /base64/encode/incremental/small-block/3
1327s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1327s ok 13 /base64/encode/incremental/small-block/4
1327s # End of small-block tests
1327s # End of incremental tests
1327s # End of encode tests
1327s # Start of incremental tests
1327s # Start of nobreak tests
1327s ok 14 /base64/incremental/nobreak/1
1327s ok 15 /base64/incremental/nobreak/2
1327s ok 16 /base64/incremental/nobreak/3
1327s ok 17 /base64/incremental/nobreak/4-a
1327s ok 18 /base64/incremental/nobreak/4-b
1327s ok 19 /base64/incremental/nobreak/4-c
1327s # End of nobreak tests
1327s # Start of break tests
1327s ok 20 /base64/incremental/break/1
1327s ok 21 /base64/incremental/break/2
1327s ok 22 /base64/incremental/break/3
1327s # End of break tests
1327s # Start of smallblock tests
1327s ok 23 /base64/incremental/smallblock/1
1327s ok 24 /base64/incremental/smallblock/2
1327s ok 25 /base64/incremental/smallblock/3
1327s ok 26 /base64/incremental/smallblock/4
1327s # End of smallblock tests
1327s # End of incremental tests
1327s # Start of decode tests
1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
1327s ok 27 /base64/decode/empty
1327s # End of decode tests
1327s # Start of encode-decode tests
1327s # Vector 0:
1327s # Vector 1: f
1327s # Vector 2: fo
1327s # Vector 3: foo
1327s # Vector 4: foob
1327s # Vector 5: fooba
1327s # Vector 6: foobar
1327s ok 28 /base64/encode-decode/rfc4648
1327s # End of encode-decode tests
1327s # End of base64 tests
1327s ok - glib/base64.test
1327s # Running test: glib/module-test-library.test
1327s TAP version 14
1327s # random seed: R02Sb19b969d6abdd0379cdeaed770be364b
1327s 1..3
1327s # Start of module tests
1327s ok 1 /module/basics
1327s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
1327s ok 2 /module/invalid-libtool-archive
1327s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
1327s ok 3 /module/local-binding
1327s # End of module tests
1327s ok - glib/module-test-library.test
1327s # Running test: glib/override.test
1327s TAP version 14
1327s # random seed: R02S907537fc67e168fee2d5464affe5b2db
1327s 1..1
1327s # Start of gobject tests
1327s # *** emitting foo on a TestA instance
1327s # Expecting: TestA::foo,TestI::foo
1327s # Got: TestA::foo,TestI::foo
1327s # *** emitting bar on a TestA instance
1327s # Expecting: TestA::bar
1327s # Got: TestA::bar
1327s # *** emitting baz on a TestA instance
1327s # Expecting: TestA::baz
1327s # Got: TestA::baz
1327s # *** emitting foo on a TestB instance
1327s # Expecting: TestB::foo,TestA::foo,TestI::foo
1327s # Got: TestB::foo,TestA::foo,TestI::foo
1327s # *** emitting bar on a TestB instance
1327s # Expecting: TestB::bar,TestA::bar
1327s # Got: TestB::bar,TestA::bar
1327s # *** emitting baz on a TestB instance
1327s # Expecting: TestB::baz,TestA::baz
1327s # Got: TestB::baz,TestA::baz
1327s # *** emitting foo on a TestC instance
1327s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
1327s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
1327s # *** emitting bar on a TestC instance
1327s # Expecting: TestC::bar,TestB::bar,TestA::bar
1327s # Got: TestC::bar,TestB::bar,TestA::bar
1327s # *** emitting baz on a TestC instance
1327s # Expecting: TestC::baz,TestB::baz,TestA::baz
1327s # Got: TestC::baz,TestB::baz,TestA::baz
1327s ok 1 /gobject/override
1327s # End of gobject tests
1327s ok - glib/override.test
1327s # Running test: glib/dump.test
1327s TAP version 14
1327s # random seed: R02Sc28434b62ff5451ce3a9385f18b5de8d
1327s 1..4
1327s # Start of dump tests
1327s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LIA512/dump/empty-file/.dirs/home
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LIA512/dump/empty-file/.dirs/cache
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LIA512/dump/empty-file/.dirs/system-config1:/tmp/test_dump_LIA512/dump/empty-file/.dirs/system-config2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LIA512/dump/empty-file/.dirs/config
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LIA512/dump/empty-file/.dirs/system-data1:/tmp/test_dump_LIA512/dump/empty-file/.dirs/system-data2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LIA512/dump/empty-file/.dirs/data
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LIA512/dump/empty-file/.dirs/state
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LIA512/dump/empty-file/.dirs/runtime
1327s ok 1 /dump/empty-file
1327s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/home
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/cache
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_LIA512/dump/missing-get-type/.dirs/system-config2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/config
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_LIA512/dump/missing-get-type/.dirs/system-data2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/data
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/state
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LIA512/dump/missing-get-type/.dirs/runtime
1327s Invalid GType function: 'does_not_exist_get_type'
1327s ok 2 /dump/missing-get-type
1327s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/home
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/cache
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_LIA512/dump/missing-quark/.dirs/system-config2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/config
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_LIA512/dump/missing-quark/.dirs/system-data2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/data
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/state
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LIA512/dump/missing-quark/.dirs/runtime
1327s Invalid error quark function: 'does_not_exist_error'
1327s ok 3 /dump/missing-quark
1327s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LIA512/dump/basic/.dirs/home
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LIA512/dump/basic/.dirs/cache
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LIA512/dump/basic/.dirs/system-config1:/tmp/test_dump_LIA512/dump/basic/.dirs/system-config2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LIA512/dump/basic/.dirs/config
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LIA512/dump/basic/.dirs/system-data1:/tmp/test_dump_LIA512/dump/basic/.dirs/system-data2
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LIA512/dump/basic/.dirs/data
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LIA512/dump/basic/.dirs/state
1327s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LIA512/dump/basic/.dirs/runtime
1327s ok 4 /dump/basic
1327s # End of dump tests
1327s ok - glib/dump.test
1327s # Running test: glib/socket-address.test
1327s TAP version 14
1327s # random seed: R02Sca415bbdc9a996ddb4f29aea432517ef
1327s 1..2
1327s # Start of socket tests
1327s # Start of address tests
1327s # Start of unix tests
1327s ok 1 /socket/address/unix/construct
1327s ok 2 /socket/address/unix/to-string
1327s # End of unix tests
1327s # End of address tests
1327s # End of socket tests
1327s ok - glib/socket-address.test
1327s # Running test: glib/spawn-path-search.test
1327s TAP version 14
1327s # random seed: R02Sf07cb7774f5973266a0f01c7564cd275
1327s 1..7
1327s # Start of spawn tests
1327s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
1327s #
1327s # this is spawn-test-helper from glib/tests
1327s #
1327s ok 1 /spawn/do-not-search
1327s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
1327s #
1327s # this is spawn-test-helper from path-test-subdir
1327s #
1327s ok 2 /spawn/search-path
1327s # /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.
1327s #
1327s # this is spawn-test-helper from path-test-subdir
1327s #
1327s ok 3 /spawn/search-path-from-envp
1327s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
1327s #
1327s # this is spawn-test-helper from path-test-subdir
1327s #
1327s ok 4 /spawn/search-path-ambiguous
1327s #
1327s # this is spawn-test-helper from path-test-subdir
1327s #
1327s ok 5 /spawn/search-path-heap-allocation
1327s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
1327s #
1327s # this is spawn-test-helper from glib/tests
1327s #
1327s ok 6 /spawn/search-path-fallback-in-environ
1327s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
1327s #
1327s # this is spawn-test-helper from glib/tests
1327s #
1327s ok 7 /spawn/search-path-fallback-in-envp
1327s # End of spawn tests
1327s ok - glib/spawn-path-search.test
1327s # Running test: glib/socket-listener.test
1327s TAP version 14
1327s # random seed: R02S2c853bbeca57a6d83bb1095bb7244712
1327s 1..1
1327s # Start of socket-listener tests
1327s ok 1 /socket-listener/event-signal
1327s # End of socket-listener tests
1327s ok - glib/socket-listener.test
1327s # Running test: glib/signals-refcount4.test
1327s TAP version 14
1327s # random seed: R02S1008abc5045b781c41fe7f4b33c4ea1c
1327s 1..1
1327s # Start of gobject tests
1327s # Start of refcount tests
1327s # init 0x17ea6099f120
1327s #
1327s # init 0x17ea6099f2c0
1327s #
1328s # Executing: glib/signals-refcount4.test
1332s # dispose 0x17ea6099f120!
1332s #
1332s # dispose 0x17ea6099f2c0!
1332s #
1332s ok 1 /gobject/refcount/signals
1332s # slow test /gobject/refcount/signals executed in 5.00 secs
1332s # End of refcount tests
1332s # End of gobject tests
1332s ok - glib/signals-refcount4.test
1332s # Running test: glib/thread.test
1332s TAP version 14
1332s # random seed: R02S6f07abbc490bcda615ba2dcafcb6e665
1332s 1..7
1332s # Start of thread tests
1332s ok 1 /thread/thread1
1332s ok 2 /thread/thread2
1332s ok 3 /thread/thread3
1332s ok 4 /thread/thread4
1332s ok 5 /thread/thread5
1332s ok 6 /thread/thread6
1332s ok 7 /thread/thread7
1332s # End of thread tests
1332s ok - glib/thread.test
1332s # Running test: glib/tls-bindings.test
1332s TAP version 14
1332s # random seed: R02S15de9c0b4149b13570de884d8fbe0e3f
1332s 1..2
1332s # Start of tls-connection tests
1332s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1332s ok 1 /tls-connection/get-tls-channel-binding
1332s ok 2 /tls-connection/get-dtls-channel-binding
1332s # End of tls-connection tests
1332s ok - glib/tls-bindings.test
1332s # Running test: glib/portal-support-flatpak-network-only.test
1332s TAP version 14
1332s # random seed: R02S543905a00cac8747236017dc6dd5cd6f
1332s 1..1
1332s # Start of portal-support tests
1332s # Start of flatpak tests
1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/home
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/cache
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/system-config2
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/config
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/system-data2
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/data
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/state
1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/runtime
1332s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_2SJ312/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
1332s ok 1 /portal-support/flatpak/network
1332s # End of flatpak tests
1332s # End of portal-support tests
1332s ok - glib/portal-support-flatpak-network-only.test
1332s # Running test: glib/overflow.test
1332s TAP version 14
1332s # random seed: R02S00720206131c79db7af6cba3fa811f27
1332s 1..6
1332s # Start of glib tests
1332s # Start of checked-math tests
1332s ok 1 /glib/checked-math/guint-add
1332s ok 2 /glib/checked-math/guint-mul
1332s ok 3 /glib/checked-math/guint64-add
1332s ok 4 /glib/checked-math/guint64-mul
1332s ok 5 /glib/checked-math/gsize-add
1332s ok 6 /glib/checked-math/gsize-mul
1332s # End of checked-math tests
1332s # End of glib tests
1332s ok - glib/overflow.test
1332s # Running test: glib/refcount.test
1332s TAP version 14
1332s # random seed: R02S0b72ed344bdb3355838a504bab48f2ea
1332s 1..4
1332s # Start of refcount tests
1332s ok 1 /refcount/grefcount
1332s ok 2 /refcount/gatomicrefcount
1332s # Start of grefcount tests
1332s ok 3 /refcount/grefcount/saturation
1332s # End of grefcount tests
1332s # Start of gatomicrefcount tests
1332s ok 4 /refcount/gatomicrefcount/saturation
1332s # End of gatomicrefcount tests
1332s # End of refcount tests
1332s ok - glib/refcount.test
1332s # Running test: glib/fileattributematcher.test
1332s TAP version 14
1332s # random seed: R02Sd4ec5623e51159c71d45e8d8a7e72e61
1332s 1..3
1332s # Start of fileattributematcher tests
1332s ok 1 /fileattributematcher/exact
1332s ok 2 /fileattributematcher/equality
1332s ok 3 /fileattributematcher/subtract
1332s # End of fileattributematcher tests
1332s ok - glib/fileattributematcher.test
1332s # Running test: glib/buffered-input-stream.test
1332s TAP version 14
1332s # random seed: R02Sdfd916806939d0c3672bd2d897b702ad
1332s 1..10
1332s # Start of buffered-input-stream tests
1332s ok 1 /buffered-input-stream/peek
1332s ok 2 /buffered-input-stream/peek-buffer
1332s ok 3 /buffered-input-stream/set-buffer-size
1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
1332s ok 4 /buffered-input-stream/read-byte
1332s ok 5 /buffered-input-stream/read
1332s ok 6 /buffered-input-stream/read-async
1332s ok 7 /buffered-input-stream/skip
1332s ok 8 /buffered-input-stream/skip-async
1332s ok 9 /buffered-input-stream/seek
1332s # End of buffered-input-stream tests
1332s # Start of filter-input-stream tests
1332s ok 10 /filter-input-stream/close
1332s # End of filter-input-stream tests
1332s ok - glib/buffered-input-stream.test
1332s # Running test: glib/signals-refcount1.test
1332s TAP version 14
1332s # random seed: R02Sec3880fd6125f450ce84f6cfe50c5ac8
1332s 1..1
1332s # Start of gobject tests
1332s # Start of refcount tests
1332s # init 0x1544f94f120
1332s #
1332s # init 0x1544f94f2c0
1332s #
1333s # Executing: glib/signals-refcount1.test
1337s # dispose 0x1544f94f120!
1337s #
1337s # dispose 0x1544f94f2c0!
1337s #
1337s ok 1 /gobject/refcount/signals
1337s # slow test /gobject/refcount/signals executed in 5.00 secs
1337s # End of refcount tests
1337s # End of gobject tests
1337s ok - glib/signals-refcount1.test
1337s # Running test: glib/overflow-fallback.test
1337s TAP version 14
1337s # random seed: R02S81ad2c3b630faf1d296fb709c3bdb32f
1337s 1..6
1337s # Start of glib tests
1337s # Start of checked-math tests
1337s ok 1 /glib/checked-math/guint-add
1337s ok 2 /glib/checked-math/guint-mul
1337s ok 3 /glib/checked-math/guint64-add
1337s ok 4 /glib/checked-math/guint64-mul
1337s ok 5 /glib/checked-math/gsize-add
1337s ok 6 /glib/checked-math/gsize-mul
1337s # End of checked-math tests
1337s # End of glib tests
1337s ok - glib/overflow-fallback.test
1337s # Running test: glib/utils-c-99.test
1337s TAP version 14
1337s # random seed: R02Saf104f2ead880c6e47b6d13f4c28e2d8
1337s 1..41
1337s # Start of utils tests
1337s ok 1 /utils/language-names
1337s ok 2 /utils/locale-variants
1337s ok 3 /utils/version
1337s ok 4 /utils/appname
1337s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1337s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1337s ok 5 /utils/prgname-thread-safety
1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1337s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1337s ok 6 /utils/tmpdir
1337s ok 7 /utils/basic_bits
1337s ok 8 /utils/bits
1337s ok 9 /utils/swap
1337s ok 10 /utils/find-program
1337s ok 11 /utils/find-program-for-path
1337s ok 12 /utils/debug
1337s ok 13 /utils/codeset
1337s ok 14 /utils/codeset2
1337s ok 15 /utils/console-charset
1337s ok 16 /utils/gettext
1337s ok 17 /utils/username
1337s ok 18 /utils/realname
1337s ok 19 /utils/hostname
1337s ok 20 /utils/xdgdirs
1337s ok 21 /utils/specialdir
1337s # NAME: Ubuntu
1337s ok 22 /utils/os-info
1337s ok 23 /utils/clear-pointer
1337s ok 24 /utils/clear-pointer-cast
1337s ok 25 /utils/take-pointer
1337s ok 26 /utils/clear-source
1337s ok 27 /utils/misc-mem
1337s # /utils/aligned-mem summary: Aligned memory allocator
1337s # Alignment must not be zero
1337s # Alignment must be a power of two
1337s # Alignment must be a multiple of sizeof(void*)
1337s ok 28 /utils/aligned-mem
1337s # /utils/free-sized summary: Check that g_free_sized() works
1337s ok 29 /utils/free-sized
1337s ok 30 /utils/nullify
1337s ok 31 /utils/atexit
1337s ok 32 /utils/check-setuid
1337s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1337s ok 33 /utils/int-limits
1337s ok 34 /utils/clear-list
1337s ok 35 /utils/clear-slist
1337s ok 36 /utils/steal-handle-id
1337s # Start of specialdir tests
1337s ok 37 /utils/specialdir/desktop
1337s # End of specialdir tests
1337s # Start of clear-pointer tests
1337s ok 38 /utils/clear-pointer/side-effects
1337s # End of clear-pointer tests
1337s # Start of aligned-mem tests
1337s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1337s ok 39 /utils/aligned-mem/alignment
1337s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1337s ok 40 /utils/aligned-mem/zeroed
1337s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1337s ok 41 /utils/aligned-mem/free-sized
1337s # Start of subprocess tests
1337s # End of subprocess tests
1337s # End of aligned-mem tests
1337s # End of utils tests
1337s ok - glib/utils-c-99.test
1337s # Running test: glib/checksum.test
1337s TAP version 14
1337s # random seed: R02Sc24752f36c14a490b75225d2e65f21b9
1337s 1..1851
1337s # Start of checksum tests
1337s ok 1 /checksum/unsupported
1337s # Start of MD5 tests
1337s ok 2 /checksum/MD5/0
1337s ok 3 /checksum/MD5/1
1337s ok 4 /checksum/MD5/2
1337s ok 5 /checksum/MD5/3
1337s ok 6 /checksum/MD5/4
1337s ok 7 /checksum/MD5/5
1337s ok 8 /checksum/MD5/6
1337s ok 9 /checksum/MD5/7
1337s ok 10 /checksum/MD5/8
1337s ok 11 /checksum/MD5/9
1337s ok 12 /checksum/MD5/10
1337s ok 13 /checksum/MD5/11
1337s ok 14 /checksum/MD5/12
1337s ok 15 /checksum/MD5/13
1337s ok 16 /checksum/MD5/14
1337s ok 17 /checksum/MD5/15
1337s ok 18 /checksum/MD5/16
1337s ok 19 /checksum/MD5/17
1337s ok 20 /checksum/MD5/18
1337s ok 21 /checksum/MD5/19
1337s ok 22 /checksum/MD5/20
1337s ok 23 /checksum/MD5/21
1337s ok 24 /checksum/MD5/22
1337s ok 25 /checksum/MD5/23
1337s ok 26 /checksum/MD5/24
1337s ok 27 /checksum/MD5/25
1337s ok 28 /checksum/MD5/26
1337s ok 29 /checksum/MD5/27
1337s ok 30 /checksum/MD5/28
1337s ok 31 /checksum/MD5/29
1337s ok 32 /checksum/MD5/30
1337s ok 33 /checksum/MD5/31
1337s ok 34 /checksum/MD5/32
1337s ok 35 /checksum/MD5/33
1337s ok 36 /checksum/MD5/34
1337s ok 37 /checksum/MD5/35
1337s ok 38 /checksum/MD5/36
1337s ok 39 /checksum/MD5/37
1337s ok 40 /checksum/MD5/38
1337s ok 41 /checksum/MD5/39
1337s ok 42 /checksum/MD5/40
1337s ok 43 /checksum/MD5/41
1337s ok 44 /checksum/MD5/42
1337s ok 45 /checksum/MD5/43
1337s ok 46 /checksum/MD5/44
1337s ok 47 /checksum/MD5/45
1337s ok 48 /checksum/MD5/46
1337s ok 49 /checksum/MD5/47
1337s ok 50 /checksum/MD5/48
1337s ok 51 /checksum/MD5/49
1337s ok 52 /checksum/MD5/50
1337s ok 53 /checksum/MD5/51
1337s ok 54 /checksum/MD5/52
1337s ok 55 /checksum/MD5/53
1337s ok 56 /checksum/MD5/54
1337s ok 57 /checksum/MD5/55
1337s ok 58 /checksum/MD5/56
1337s ok 59 /checksum/MD5/57
1337s ok 60 /checksum/MD5/58
1337s ok 61 /checksum/MD5/59
1337s ok 62 /checksum/MD5/60
1337s ok 63 /checksum/MD5/61
1337s ok 64 /checksum/MD5/62
1337s ok 65 /checksum/MD5/63
1337s ok 66 /checksum/MD5/64
1337s ok 67 /checksum/MD5/65
1337s ok 68 /checksum/MD5/66
1337s ok 69 /checksum/MD5/67
1337s ok 70 /checksum/MD5/68
1337s ok 71 /checksum/MD5/69
1337s ok 72 /checksum/MD5/70
1337s ok 73 /checksum/MD5/71
1337s ok 74 /checksum/MD5/72
1337s ok 75 /checksum/MD5/73
1337s ok 76 /checksum/MD5/74
1337s ok 77 /checksum/MD5/75
1337s ok 78 /checksum/MD5/76
1337s ok 79 /checksum/MD5/77
1337s ok 80 /checksum/MD5/78
1337s ok 81 /checksum/MD5/79
1337s ok 82 /checksum/MD5/80
1337s ok 83 /checksum/MD5/81
1337s ok 84 /checksum/MD5/82
1337s ok 85 /checksum/MD5/83
1337s ok 86 /checksum/MD5/84
1337s ok 87 /checksum/MD5/85
1337s ok 88 /checksum/MD5/86
1337s ok 89 /checksum/MD5/87
1337s ok 90 /checksum/MD5/88
1337s ok 91 /checksum/MD5/89
1337s ok 92 /checksum/MD5/90
1337s ok 93 /checksum/MD5/91
1337s ok 94 /checksum/MD5/92
1337s ok 95 /checksum/MD5/93
1337s ok 96 /checksum/MD5/94
1337s ok 97 /checksum/MD5/95
1337s ok 98 /checksum/MD5/96
1337s ok 99 /checksum/MD5/97
1337s ok 100 /checksum/MD5/98
1337s ok 101 /checksum/MD5/99
1337s ok 102 /checksum/MD5/100
1337s ok 103 /checksum/MD5/101
1337s ok 104 /checksum/MD5/102
1337s ok 105 /checksum/MD5/103
1337s ok 106 /checksum/MD5/104
1337s ok 107 /checksum/MD5/105
1337s ok 108 /checksum/MD5/106
1337s ok 109 /checksum/MD5/107
1337s ok 110 /checksum/MD5/108
1337s ok 111 /checksum/MD5/109
1337s ok 112 /checksum/MD5/110
1337s ok 113 /checksum/MD5/111
1337s ok 114 /checksum/MD5/112
1337s ok 115 /checksum/MD5/113
1337s ok 116 /checksum/MD5/114
1337s ok 117 /checksum/MD5/115
1337s ok 118 /checksum/MD5/116
1337s ok 119 /checksum/MD5/117
1337s ok 120 /checksum/MD5/118
1337s ok 121 /checksum/MD5/119
1337s ok 122 /checksum/MD5/120
1337s ok 123 /checksum/MD5/121
1337s ok 124 /checksum/MD5/122
1337s ok 125 /checksum/MD5/123
1337s ok 126 /checksum/MD5/124
1337s ok 127 /checksum/MD5/125
1337s ok 128 /checksum/MD5/126
1337s ok 129 /checksum/MD5/127
1337s ok 130 /checksum/MD5/128
1337s ok 131 /checksum/MD5/129
1337s ok 132 /checksum/MD5/130
1337s ok 133 /checksum/MD5/131
1337s ok 134 /checksum/MD5/132
1337s ok 135 /checksum/MD5/133
1337s ok 136 /checksum/MD5/134
1337s ok 137 /checksum/MD5/135
1337s ok 138 /checksum/MD5/136
1337s ok 139 /checksum/MD5/137
1337s ok 140 /checksum/MD5/138
1337s ok 141 /checksum/MD5/139
1337s ok 142 /checksum/MD5/140
1337s ok 143 /checksum/MD5/141
1337s ok 144 /checksum/MD5/142
1337s ok 145 /checksum/MD5/143
1337s ok 146 /checksum/MD5/144
1337s ok 147 /checksum/MD5/145
1337s ok 148 /checksum/MD5/146
1337s ok 149 /checksum/MD5/147
1337s ok 150 /checksum/MD5/148
1337s ok 151 /checksum/MD5/149
1337s ok 152 /checksum/MD5/150
1337s ok 153 /checksum/MD5/151
1337s ok 154 /checksum/MD5/152
1337s ok 155 /checksum/MD5/153
1337s ok 156 /checksum/MD5/154
1337s ok 157 /checksum/MD5/155
1337s ok 158 /checksum/MD5/156
1337s ok 159 /checksum/MD5/157
1337s ok 160 /checksum/MD5/158
1337s ok 161 /checksum/MD5/159
1337s ok 162 /checksum/MD5/160
1337s ok 163 /checksum/MD5/161
1337s ok 164 /checksum/MD5/162
1337s ok 165 /checksum/MD5/163
1337s ok 166 /checksum/MD5/164
1337s ok 167 /checksum/MD5/165
1337s ok 168 /checksum/MD5/166
1337s ok 169 /checksum/MD5/167
1337s ok 170 /checksum/MD5/168
1337s ok 171 /checksum/MD5/169
1337s ok 172 /checksum/MD5/170
1337s ok 173 /checksum/MD5/171
1337s ok 174 /checksum/MD5/172
1337s ok 175 /checksum/MD5/173
1337s ok 176 /checksum/MD5/174
1337s ok 177 /checksum/MD5/175
1337s ok 178 /checksum/MD5/176
1337s ok 179 /checksum/MD5/177
1337s ok 180 /checksum/MD5/178
1337s ok 181 /checksum/MD5/179
1337s ok 182 /checksum/MD5/180
1337s ok 183 /checksum/MD5/181
1337s ok 184 /checksum/MD5/182
1337s ok 185 /checksum/MD5/183
1337s ok 186 /checksum/MD5/string
1337s ok 187 /checksum/MD5/bytes
1337s # Start of reset tests
1337s ok 188 /checksum/MD5/reset/0
1337s ok 189 /checksum/MD5/reset/1
1337s ok 190 /checksum/MD5/reset/2
1337s ok 191 /checksum/MD5/reset/3
1337s ok 192 /checksum/MD5/reset/4
1337s ok 193 /checksum/MD5/reset/5
1337s ok 194 /checksum/MD5/reset/6
1337s ok 195 /checksum/MD5/reset/7
1337s ok 196 /checksum/MD5/reset/8
1337s ok 197 /checksum/MD5/reset/9
1337s ok 198 /checksum/MD5/reset/10
1337s ok 199 /checksum/MD5/reset/11
1337s ok 200 /checksum/MD5/reset/12
1337s ok 201 /checksum/MD5/reset/13
1337s ok 202 /checksum/MD5/reset/14
1337s ok 203 /checksum/MD5/reset/15
1337s ok 204 /checksum/MD5/reset/16
1337s ok 205 /checksum/MD5/reset/17
1337s ok 206 /checksum/MD5/reset/18
1337s ok 207 /checksum/MD5/reset/19
1337s ok 208 /checksum/MD5/reset/20
1337s ok 209 /checksum/MD5/reset/21
1337s ok 210 /checksum/MD5/reset/22
1337s ok 211 /checksum/MD5/reset/23
1337s ok 212 /checksum/MD5/reset/24
1337s ok 213 /checksum/MD5/reset/25
1337s ok 214 /checksum/MD5/reset/26
1337s ok 215 /checksum/MD5/reset/27
1337s ok 216 /checksum/MD5/reset/28
1337s ok 217 /checksum/MD5/reset/29
1337s ok 218 /checksum/MD5/reset/30
1337s ok 219 /checksum/MD5/reset/31
1337s ok 220 /checksum/MD5/reset/32
1337s ok 221 /checksum/MD5/reset/33
1337s ok 222 /checksum/MD5/reset/34
1337s ok 223 /checksum/MD5/reset/35
1337s ok 224 /checksum/MD5/reset/36
1337s ok 225 /checksum/MD5/reset/37
1337s ok 226 /checksum/MD5/reset/38
1337s ok 227 /checksum/MD5/reset/39
1337s ok 228 /checksum/MD5/reset/40
1337s ok 229 /checksum/MD5/reset/41
1337s ok 230 /checksum/MD5/reset/42
1337s ok 231 /checksum/MD5/reset/43
1337s ok 232 /checksum/MD5/reset/44
1337s ok 233 /checksum/MD5/reset/45
1337s ok 234 /checksum/MD5/reset/46
1337s ok 235 /checksum/MD5/reset/47
1337s ok 236 /checksum/MD5/reset/48
1337s ok 237 /checksum/MD5/reset/49
1337s ok 238 /checksum/MD5/reset/50
1337s ok 239 /checksum/MD5/reset/51
1337s ok 240 /checksum/MD5/reset/52
1337s ok 241 /checksum/MD5/reset/53
1337s ok 242 /checksum/MD5/reset/54
1337s ok 243 /checksum/MD5/reset/55
1337s ok 244 /checksum/MD5/reset/56
1337s ok 245 /checksum/MD5/reset/57
1337s ok 246 /checksum/MD5/reset/58
1337s ok 247 /checksum/MD5/reset/59
1337s ok 248 /checksum/MD5/reset/60
1337s ok 249 /checksum/MD5/reset/61
1337s ok 250 /checksum/MD5/reset/62
1337s ok 251 /checksum/MD5/reset/63
1337s ok 252 /checksum/MD5/reset/64
1337s ok 253 /checksum/MD5/reset/65
1337s ok 254 /checksum/MD5/reset/66
1337s ok 255 /checksum/MD5/reset/67
1337s ok 256 /checksum/MD5/reset/68
1337s ok 257 /checksum/MD5/reset/69
1337s ok 258 /checksum/MD5/reset/70
1337s ok 259 /checksum/MD5/reset/71
1337s ok 260 /checksum/MD5/reset/72
1337s ok 261 /checksum/MD5/reset/73
1337s ok 262 /checksum/MD5/reset/74
1337s ok 263 /checksum/MD5/reset/75
1337s ok 264 /checksum/MD5/reset/76
1337s ok 265 /checksum/MD5/reset/77
1337s ok 266 /checksum/MD5/reset/78
1337s ok 267 /checksum/MD5/reset/79
1337s ok 268 /checksum/MD5/reset/80
1337s ok 269 /checksum/MD5/reset/81
1337s ok 270 /checksum/MD5/reset/82
1337s ok 271 /checksum/MD5/reset/83
1337s ok 272 /checksum/MD5/reset/84
1337s ok 273 /checksum/MD5/reset/85
1337s ok 274 /checksum/MD5/reset/86
1337s ok 275 /checksum/MD5/reset/87
1337s ok 276 /checksum/MD5/reset/88
1337s ok 277 /checksum/MD5/reset/89
1337s ok 278 /checksum/MD5/reset/90
1337s ok 279 /checksum/MD5/reset/91
1337s ok 280 /checksum/MD5/reset/92
1337s ok 281 /checksum/MD5/reset/93
1337s ok 282 /checksum/MD5/reset/94
1337s ok 283 /checksum/MD5/reset/95
1337s ok 284 /checksum/MD5/reset/96
1337s ok 285 /checksum/MD5/reset/97
1337s ok 286 /checksum/MD5/reset/98
1337s ok 287 /checksum/MD5/reset/99
1337s ok 288 /checksum/MD5/reset/100
1337s ok 289 /checksum/MD5/reset/101
1337s ok 290 /checksum/MD5/reset/102
1337s ok 291 /checksum/MD5/reset/103
1337s ok 292 /checksum/MD5/reset/104
1337s ok 293 /checksum/MD5/reset/105
1337s ok 294 /checksum/MD5/reset/106
1337s ok 295 /checksum/MD5/reset/107
1337s ok 296 /checksum/MD5/reset/108
1337s ok 297 /checksum/MD5/reset/109
1337s ok 298 /checksum/MD5/reset/110
1337s ok 299 /checksum/MD5/reset/111
1337s ok 300 /checksum/MD5/reset/112
1337s ok 301 /checksum/MD5/reset/113
1337s ok 302 /checksum/MD5/reset/114
1337s ok 303 /checksum/MD5/reset/115
1337s ok 304 /checksum/MD5/reset/116
1337s ok 305 /checksum/MD5/reset/117
1337s ok 306 /checksum/MD5/reset/118
1337s ok 307 /checksum/MD5/reset/119
1337s ok 308 /checksum/MD5/reset/120
1337s ok 309 /checksum/MD5/reset/121
1337s ok 310 /checksum/MD5/reset/122
1337s ok 311 /checksum/MD5/reset/123
1337s ok 312 /checksum/MD5/reset/124
1337s ok 313 /checksum/MD5/reset/125
1337s ok 314 /checksum/MD5/reset/126
1337s ok 315 /checksum/MD5/reset/127
1337s ok 316 /checksum/MD5/reset/128
1337s ok 317 /checksum/MD5/reset/129
1337s ok 318 /checksum/MD5/reset/130
1337s ok 319 /checksum/MD5/reset/131
1337s ok 320 /checksum/MD5/reset/132
1337s ok 321 /checksum/MD5/reset/133
1337s ok 322 /checksum/MD5/reset/134
1337s ok 323 /checksum/MD5/reset/135
1337s ok 324 /checksum/MD5/reset/136
1337s ok 325 /checksum/MD5/reset/137
1337s ok 326 /checksum/MD5/reset/138
1337s ok 327 /checksum/MD5/reset/139
1337s ok 328 /checksum/MD5/reset/140
1337s ok 329 /checksum/MD5/reset/141
1337s ok 330 /checksum/MD5/reset/142
1337s ok 331 /checksum/MD5/reset/143
1337s ok 332 /checksum/MD5/reset/144
1337s ok 333 /checksum/MD5/reset/145
1337s ok 334 /checksum/MD5/reset/146
1337s ok 335 /checksum/MD5/reset/147
1337s ok 336 /checksum/MD5/reset/148
1337s ok 337 /checksum/MD5/reset/149
1337s ok 338 /checksum/MD5/reset/150
1337s ok 339 /checksum/MD5/reset/151
1337s ok 340 /checksum/MD5/reset/152
1337s ok 341 /checksum/MD5/reset/153
1337s ok 342 /checksum/MD5/reset/154
1337s ok 343 /checksum/MD5/reset/155
1337s ok 344 /checksum/MD5/reset/156
1337s ok 345 /checksum/MD5/reset/157
1337s ok 346 /checksum/MD5/reset/158
1337s ok 347 /checksum/MD5/reset/159
1337s ok 348 /checksum/MD5/reset/160
1337s ok 349 /checksum/MD5/reset/161
1337s ok 350 /checksum/MD5/reset/162
1337s ok 351 /checksum/MD5/reset/163
1337s ok 352 /checksum/MD5/reset/164
1337s ok 353 /checksum/MD5/reset/165
1337s ok 354 /checksum/MD5/reset/166
1337s ok 355 /checksum/MD5/reset/167
1337s ok 356 /checksum/MD5/reset/168
1337s ok 357 /checksum/MD5/reset/169
1337s ok 358 /checksum/MD5/reset/170
1337s ok 359 /checksum/MD5/reset/171
1337s ok 360 /checksum/MD5/reset/172
1337s ok 361 /checksum/MD5/reset/173
1337s ok 362 /checksum/MD5/reset/174
1337s ok 363 /checksum/MD5/reset/175
1337s ok 364 /checksum/MD5/reset/176
1337s ok 365 /checksum/MD5/reset/177
1337s ok 366 /checksum/MD5/reset/178
1337s ok 367 /checksum/MD5/reset/179
1337s ok 368 /checksum/MD5/reset/180
1337s ok 369 /checksum/MD5/reset/181
1337s ok 370 /checksum/MD5/reset/182
1337s ok 371 /checksum/MD5/reset/183
1337s # End of reset tests
1337s # End of MD5 tests
1337s # Start of SHA1 tests
1337s ok 372 /checksum/SHA1/0
1337s ok 373 /checksum/SHA1/1
1337s ok 374 /checksum/SHA1/2
1337s ok 375 /checksum/SHA1/3
1337s ok 376 /checksum/SHA1/4
1337s ok 377 /checksum/SHA1/5
1337s ok 378 /checksum/SHA1/6
1337s ok 379 /checksum/SHA1/7
1337s ok 380 /checksum/SHA1/8
1337s ok 381 /checksum/SHA1/9
1337s ok 382 /checksum/SHA1/10
1337s ok 383 /checksum/SHA1/11
1337s ok 384 /checksum/SHA1/12
1337s ok 385 /checksum/SHA1/13
1337s ok 386 /checksum/SHA1/14
1337s ok 387 /checksum/SHA1/15
1337s ok 388 /checksum/SHA1/16
1337s ok 389 /checksum/SHA1/17
1337s ok 390 /checksum/SHA1/18
1337s ok 391 /checksum/SHA1/19
1337s ok 392 /checksum/SHA1/20
1337s ok 393 /checksum/SHA1/21
1337s ok 394 /checksum/SHA1/22
1337s ok 395 /checksum/SHA1/23
1337s ok 396 /checksum/SHA1/24
1337s ok 397 /checksum/SHA1/25
1337s ok 398 /checksum/SHA1/26
1337s ok 399 /checksum/SHA1/27
1337s ok 400 /checksum/SHA1/28
1337s ok 401 /checksum/SHA1/29
1337s ok 402 /checksum/SHA1/30
1337s ok 403 /checksum/SHA1/31
1337s ok 404 /checksum/SHA1/32
1337s ok 405 /checksum/SHA1/33
1337s ok 406 /checksum/SHA1/34
1337s ok 407 /checksum/SHA1/35
1337s ok 408 /checksum/SHA1/36
1337s ok 409 /checksum/SHA1/37
1337s ok 410 /checksum/SHA1/38
1337s ok 411 /checksum/SHA1/39
1337s ok 412 /checksum/SHA1/40
1337s ok 413 /checksum/SHA1/41
1337s ok 414 /checksum/SHA1/42
1337s ok 415 /checksum/SHA1/43
1337s ok 416 /checksum/SHA1/44
1337s ok 417 /checksum/SHA1/45
1337s ok 418 /checksum/SHA1/46
1337s ok 419 /checksum/SHA1/47
1337s ok 420 /checksum/SHA1/48
1337s ok 421 /checksum/SHA1/49
1337s ok 422 /checksum/SHA1/50
1337s ok 423 /checksum/SHA1/51
1337s ok 424 /checksum/SHA1/52
1337s ok 425 /checksum/SHA1/53
1337s ok 426 /checksum/SHA1/54
1337s ok 427 /checksum/SHA1/55
1337s ok 428 /checksum/SHA1/56
1337s ok 429 /checksum/SHA1/57
1337s ok 430 /checksum/SHA1/58
1337s ok 431 /checksum/SHA1/59
1337s ok 432 /checksum/SHA1/60
1337s ok 433 /checksum/SHA1/61
1337s ok 434 /checksum/SHA1/62
1337s ok 435 /checksum/SHA1/63
1337s ok 436 /checksum/SHA1/64
1337s ok 437 /checksum/SHA1/65
1337s ok 438 /checksum/SHA1/66
1337s ok 439 /checksum/SHA1/67
1337s ok 440 /checksum/SHA1/68
1337s ok 441 /checksum/SHA1/69
1337s ok 442 /checksum/SHA1/70
1337s ok 443 /checksum/SHA1/71
1337s ok 444 /checksum/SHA1/72
1337s ok 445 /checksum/SHA1/73
1337s ok 446 /checksum/SHA1/74
1337s ok 447 /checksum/SHA1/75
1337s ok 448 /checksum/SHA1/76
1337s ok 449 /checksum/SHA1/77
1337s ok 450 /checksum/SHA1/78
1337s ok 451 /checksum/SHA1/79
1337s ok 452 /checksum/SHA1/80
1337s ok 453 /checksum/SHA1/81
1337s ok 454 /checksum/SHA1/82
1337s ok 455 /checksum/SHA1/83
1337s ok 456 /checksum/SHA1/84
1337s ok 457 /checksum/SHA1/85
1337s ok 458 /checksum/SHA1/86
1337s ok 459 /checksum/SHA1/87
1337s ok 460 /checksum/SHA1/88
1337s ok 461 /checksum/SHA1/89
1337s ok 462 /checksum/SHA1/90
1337s ok 463 /checksum/SHA1/91
1337s ok 464 /checksum/SHA1/92
1337s ok 465 /checksum/SHA1/93
1337s ok 466 /checksum/SHA1/94
1337s ok 467 /checksum/SHA1/95
1337s ok 468 /checksum/SHA1/96
1337s ok 469 /checksum/SHA1/97
1337s ok 470 /checksum/SHA1/98
1337s ok 471 /checksum/SHA1/99
1337s ok 472 /checksum/SHA1/100
1337s ok 473 /checksum/SHA1/101
1337s ok 474 /checksum/SHA1/102
1337s ok 475 /checksum/SHA1/103
1337s ok 476 /checksum/SHA1/104
1337s ok 477 /checksum/SHA1/105
1337s ok 478 /checksum/SHA1/106
1337s ok 479 /checksum/SHA1/107
1337s ok 480 /checksum/SHA1/108
1337s ok 481 /checksum/SHA1/109
1337s ok 482 /checksum/SHA1/110
1337s ok 483 /checksum/SHA1/111
1337s ok 484 /checksum/SHA1/112
1337s ok 485 /checksum/SHA1/113
1337s ok 486 /checksum/SHA1/114
1337s ok 487 /checksum/SHA1/115
1337s ok 488 /checksum/SHA1/116
1337s ok 489 /checksum/SHA1/117
1337s ok 490 /checksum/SHA1/118
1337s ok 491 /checksum/SHA1/119
1337s ok 492 /checksum/SHA1/120
1337s ok 493 /checksum/SHA1/121
1337s ok 494 /checksum/SHA1/122
1337s ok 495 /checksum/SHA1/123
1337s ok 496 /checksum/SHA1/124
1337s ok 497 /checksum/SHA1/125
1337s ok 498 /checksum/SHA1/126
1337s ok 499 /checksum/SHA1/127
1337s ok 500 /checksum/SHA1/128
1337s ok 501 /checksum/SHA1/129
1337s ok 502 /checksum/SHA1/130
1337s ok 503 /checksum/SHA1/131
1337s ok 504 /checksum/SHA1/132
1337s ok 505 /checksum/SHA1/133
1337s ok 506 /checksum/SHA1/134
1337s ok 507 /checksum/SHA1/135
1337s ok 508 /checksum/SHA1/136
1337s ok 509 /checksum/SHA1/137
1337s ok 510 /checksum/SHA1/138
1337s ok 511 /checksum/SHA1/139
1337s ok 512 /checksum/SHA1/140
1337s ok 513 /checksum/SHA1/141
1337s ok 514 /checksum/SHA1/142
1337s ok 515 /checksum/SHA1/143
1337s ok 516 /checksum/SHA1/144
1337s ok 517 /checksum/SHA1/145
1337s ok 518 /checksum/SHA1/146
1337s ok 519 /checksum/SHA1/147
1337s ok 520 /checksum/SHA1/148
1337s ok 521 /checksum/SHA1/149
1337s ok 522 /checksum/SHA1/150
1337s ok 523 /checksum/SHA1/151
1337s ok 524 /checksum/SHA1/152
1337s ok 525 /checksum/SHA1/153
1337s ok 526 /checksum/SHA1/154
1337s ok 527 /checksum/SHA1/155
1337s ok 528 /checksum/SHA1/156
1337s ok 529 /checksum/SHA1/157
1337s ok 530 /checksum/SHA1/158
1337s ok 531 /checksum/SHA1/159
1337s ok 532 /checksum/SHA1/160
1337s ok 533 /checksum/SHA1/161
1337s ok 534 /checksum/SHA1/162
1337s ok 535 /checksum/SHA1/163
1337s ok 536 /checksum/SHA1/164
1337s ok 537 /checksum/SHA1/165
1337s ok 538 /checksum/SHA1/166
1337s ok 539 /checksum/SHA1/167
1337s ok 540 /checksum/SHA1/168
1337s ok 541 /checksum/SHA1/169
1337s ok 542 /checksum/SHA1/170
1337s ok 543 /checksum/SHA1/171
1337s ok 544 /checksum/SHA1/172
1337s ok 545 /checksum/SHA1/173
1337s ok 546 /checksum/SHA1/174
1337s ok 547 /checksum/SHA1/175
1337s ok 548 /checksum/SHA1/176
1337s ok 549 /checksum/SHA1/177
1337s ok 550 /checksum/SHA1/178
1337s ok 551 /checksum/SHA1/179
1337s ok 552 /checksum/SHA1/180
1337s ok 553 /checksum/SHA1/181
1337s ok 554 /checksum/SHA1/182
1337s ok 555 /checksum/SHA1/183
1337s ok 556 /checksum/SHA1/string
1337s ok 557 /checksum/SHA1/bytes
1337s # Start of reset tests
1337s ok 558 /checksum/SHA1/reset/0
1337s ok 559 /checksum/SHA1/reset/1
1337s ok 560 /checksum/SHA1/reset/2
1337s ok 561 /checksum/SHA1/reset/3
1337s ok 562 /checksum/SHA1/reset/4
1337s ok 563 /checksum/SHA1/reset/5
1337s ok 564 /checksum/SHA1/reset/6
1337s ok 565 /checksum/SHA1/reset/7
1337s ok 566 /checksum/SHA1/reset/8
1337s ok 567 /checksum/SHA1/reset/9
1337s ok 568 /checksum/SHA1/reset/10
1337s ok 569 /checksum/SHA1/reset/11
1337s ok 570 /checksum/SHA1/reset/12
1337s ok 571 /checksum/SHA1/reset/13
1337s ok 572 /checksum/SHA1/reset/14
1337s ok 573 /checksum/SHA1/reset/15
1337s ok 574 /checksum/SHA1/reset/16
1337s ok 575 /checksum/SHA1/reset/17
1337s ok 576 /checksum/SHA1/reset/18
1337s ok 577 /checksum/SHA1/reset/19
1337s ok 578 /checksum/SHA1/reset/20
1337s ok 579 /checksum/SHA1/reset/21
1337s ok 580 /checksum/SHA1/reset/22
1337s ok 581 /checksum/SHA1/reset/23
1337s ok 582 /checksum/SHA1/reset/24
1337s ok 583 /checksum/SHA1/reset/25
1337s ok 584 /checksum/SHA1/reset/26
1337s ok 585 /checksum/SHA1/reset/27
1337s ok 586 /checksum/SHA1/reset/28
1337s ok 587 /checksum/SHA1/reset/29
1337s ok 588 /checksum/SHA1/reset/30
1337s ok 589 /checksum/SHA1/reset/31
1337s ok 590 /checksum/SHA1/reset/32
1337s ok 591 /checksum/SHA1/reset/33
1337s ok 592 /checksum/SHA1/reset/34
1337s ok 593 /checksum/SHA1/reset/35
1337s ok 594 /checksum/SHA1/reset/36
1337s ok 595 /checksum/SHA1/reset/37
1337s ok 596 /checksum/SHA1/reset/38
1337s ok 597 /checksum/SHA1/reset/39
1337s ok 598 /checksum/SHA1/reset/40
1337s ok 599 /checksum/SHA1/reset/41
1337s ok 600 /checksum/SHA1/reset/42
1337s ok 601 /checksum/SHA1/reset/43
1337s ok 602 /checksum/SHA1/reset/44
1337s ok 603 /checksum/SHA1/reset/45
1337s ok 604 /checksum/SHA1/reset/46
1337s ok 605 /checksum/SHA1/reset/47
1337s ok 606 /checksum/SHA1/reset/48
1337s ok 607 /checksum/SHA1/reset/49
1337s ok 608 /checksum/SHA1/reset/50
1337s ok 609 /checksum/SHA1/reset/51
1337s ok 610 /checksum/SHA1/reset/52
1337s ok 611 /checksum/SHA1/reset/53
1337s ok 612 /checksum/SHA1/reset/54
1337s ok 613 /checksum/SHA1/reset/55
1337s ok 614 /checksum/SHA1/reset/56
1337s ok 615 /checksum/SHA1/reset/57
1337s ok 616 /checksum/SHA1/reset/58
1337s ok 617 /checksum/SHA1/reset/59
1337s ok 618 /checksum/SHA1/reset/60
1337s ok 619 /checksum/SHA1/reset/61
1337s ok 620 /checksum/SHA1/reset/62
1337s ok 621 /checksum/SHA1/reset/63
1337s ok 622 /checksum/SHA1/reset/64
1337s ok 623 /checksum/SHA1/reset/65
1337s ok 624 /checksum/SHA1/reset/66
1337s ok 625 /checksum/SHA1/reset/67
1337s ok 626 /checksum/SHA1/reset/68
1337s ok 627 /checksum/SHA1/reset/69
1337s ok 628 /checksum/SHA1/reset/70
1337s ok 629 /checksum/SHA1/reset/71
1337s ok 630 /checksum/SHA1/reset/72
1337s ok 631 /checksum/SHA1/reset/73
1337s ok 632 /checksum/SHA1/reset/74
1337s ok 633 /checksum/SHA1/reset/75
1337s ok 634 /checksum/SHA1/reset/76
1337s ok 635 /checksum/SHA1/reset/77
1337s ok 636 /checksum/SHA1/reset/78
1337s ok 637 /checksum/SHA1/reset/79
1337s ok 638 /checksum/SHA1/reset/80
1337s ok 639 /checksum/SHA1/reset/81
1337s ok 640 /checksum/SHA1/reset/82
1337s ok 641 /checksum/SHA1/reset/83
1337s ok 642 /checksum/SHA1/reset/84
1337s ok 643 /checksum/SHA1/reset/85
1337s ok 644 /checksum/SHA1/reset/86
1337s ok 645 /checksum/SHA1/reset/87
1337s ok 646 /checksum/SHA1/reset/88
1337s ok 647 /checksum/SHA1/reset/89
1337s ok 648 /checksum/SHA1/reset/90
1337s ok 649 /checksum/SHA1/reset/91
1337s ok 650 /checksum/SHA1/reset/92
1337s ok 651 /checksum/SHA1/reset/93
1337s ok 652 /checksum/SHA1/reset/94
1337s ok 653 /checksum/SHA1/reset/95
1337s ok 654 /checksum/SHA1/reset/96
1337s ok 655 /checksum/SHA1/reset/97
1337s ok 656 /checksum/SHA1/reset/98
1337s ok 657 /checksum/SHA1/reset/99
1337s ok 658 /checksum/SHA1/reset/100
1337s ok 659 /checksum/SHA1/reset/101
1337s ok 660 /checksum/SHA1/reset/102
1337s ok 661 /checksum/SHA1/reset/103
1337s ok 662 /checksum/SHA1/reset/104
1337s ok 663 /checksum/SHA1/reset/105
1337s ok 664 /checksum/SHA1/reset/106
1337s ok 665 /checksum/SHA1/reset/107
1337s ok 666 /checksum/SHA1/reset/108
1337s ok 667 /checksum/SHA1/reset/109
1337s ok 668 /checksum/SHA1/reset/110
1337s ok 669 /checksum/SHA1/reset/111
1338s ok 670 /checksum/SHA1/reset/112
1338s ok 671 /checksum/SHA1/reset/113
1338s ok 672 /checksum/SHA1/reset/114
1338s ok 673 /checksum/SHA1/reset/115
1338s ok 674 /checksum/SHA1/reset/116
1338s ok 675 /checksum/SHA1/reset/117
1338s ok 676 /checksum/SHA1/reset/118
1338s ok 677 /checksum/SHA1/reset/119
1338s ok 678 /checksum/SHA1/reset/120
1338s ok 679 /checksum/SHA1/reset/121
1338s ok 680 /checksum/SHA1/reset/122
1338s ok 681 /checksum/SHA1/reset/123
1338s ok 682 /checksum/SHA1/reset/124
1338s ok 683 /checksum/SHA1/reset/125
1338s ok 684 /checksum/SHA1/reset/126
1338s ok 685 /checksum/SHA1/reset/127
1338s ok 686 /checksum/SHA1/reset/128
1338s ok 687 /checksum/SHA1/reset/129
1338s ok 688 /checksum/SHA1/reset/130
1338s ok 689 /checksum/SHA1/reset/131
1338s ok 690 /checksum/SHA1/reset/132
1338s ok 691 /checksum/SHA1/reset/133
1338s ok 692 /checksum/SHA1/reset/134
1338s ok 693 /checksum/SHA1/reset/135
1338s ok 694 /checksum/SHA1/reset/136
1338s ok 695 /checksum/SHA1/reset/137
1338s ok 696 /checksum/SHA1/reset/138
1338s ok 697 /checksum/SHA1/reset/139
1338s ok 698 /checksum/SHA1/reset/140
1338s ok 699 /checksum/SHA1/reset/141
1338s ok 700 /checksum/SHA1/reset/142
1338s ok 701 /checksum/SHA1/reset/143
1338s ok 702 /checksum/SHA1/reset/144
1338s ok 703 /checksum/SHA1/reset/145
1338s ok 704 /checksum/SHA1/reset/146
1338s ok 705 /checksum/SHA1/reset/147
1338s ok 706 /checksum/SHA1/reset/148
1338s ok 707 /checksum/SHA1/reset/149
1338s ok 708 /checksum/SHA1/reset/150
1338s ok 709 /checksum/SHA1/reset/151
1338s ok 710 /checksum/SHA1/reset/152
1338s ok 711 /checksum/SHA1/reset/153
1338s ok 712 /checksum/SHA1/reset/154
1338s ok 713 /checksum/SHA1/reset/155
1338s ok 714 /checksum/SHA1/reset/156
1338s ok 715 /checksum/SHA1/reset/157
1338s ok 716 /checksum/SHA1/reset/158
1338s ok 717 /checksum/SHA1/reset/159
1338s ok 718 /checksum/SHA1/reset/160
1338s ok 719 /checksum/SHA1/reset/161
1338s ok 720 /checksum/SHA1/reset/162
1338s ok 721 /checksum/SHA1/reset/163
1338s ok 722 /checksum/SHA1/reset/164
1338s ok 723 /checksum/SHA1/reset/165
1338s ok 724 /checksum/SHA1/reset/166
1338s ok 725 /checksum/SHA1/reset/167
1338s ok 726 /checksum/SHA1/reset/168
1338s ok 727 /checksum/SHA1/reset/169
1338s ok 728 /checksum/SHA1/reset/170
1338s ok 729 /checksum/SHA1/reset/171
1338s ok 730 /checksum/SHA1/reset/172
1338s ok 731 /checksum/SHA1/reset/173
1338s ok 732 /checksum/SHA1/reset/174
1338s ok 733 /checksum/SHA1/reset/175
1338s ok 734 /checksum/SHA1/reset/176
1338s ok 735 /checksum/SHA1/reset/177
1338s ok 736 /checksum/SHA1/reset/178
1338s ok 737 /checksum/SHA1/reset/179
1338s ok 738 /checksum/SHA1/reset/180
1338s ok 739 /checksum/SHA1/reset/181
1338s ok 740 /checksum/SHA1/reset/182
1338s ok 741 /checksum/SHA1/reset/183
1338s # End of reset tests
1338s # End of SHA1 tests
1338s # Start of SHA256 tests
1338s ok 742 /checksum/SHA256/0
1338s ok 743 /checksum/SHA256/1
1338s ok 744 /checksum/SHA256/2
1338s ok 745 /checksum/SHA256/3
1338s ok 746 /checksum/SHA256/4
1338s ok 747 /checksum/SHA256/5
1338s ok 748 /checksum/SHA256/6
1338s ok 749 /checksum/SHA256/7
1338s ok 750 /checksum/SHA256/8
1338s ok 751 /checksum/SHA256/9
1338s ok 752 /checksum/SHA256/10
1338s ok 753 /checksum/SHA256/11
1338s ok 754 /checksum/SHA256/12
1338s ok 755 /checksum/SHA256/13
1338s ok 756 /checksum/SHA256/14
1338s ok 757 /checksum/SHA256/15
1338s ok 758 /checksum/SHA256/16
1338s ok 759 /checksum/SHA256/17
1338s ok 760 /checksum/SHA256/18
1338s ok 761 /checksum/SHA256/19
1338s ok 762 /checksum/SHA256/20
1338s ok 763 /checksum/SHA256/21
1338s ok 764 /checksum/SHA256/22
1338s ok 765 /checksum/SHA256/23
1338s ok 766 /checksum/SHA256/24
1338s ok 767 /checksum/SHA256/25
1338s ok 768 /checksum/SHA256/26
1338s ok 769 /checksum/SHA256/27
1338s ok 770 /checksum/SHA256/28
1338s ok 771 /checksum/SHA256/29
1338s ok 772 /checksum/SHA256/30
1338s ok 773 /checksum/SHA256/31
1338s ok 774 /checksum/SHA256/32
1338s ok 775 /checksum/SHA256/33
1338s ok 776 /checksum/SHA256/34
1338s ok 777 /checksum/SHA256/35
1338s ok 778 /checksum/SHA256/36
1338s ok 779 /checksum/SHA256/37
1338s ok 780 /checksum/SHA256/38
1338s ok 781 /checksum/SHA256/39
1338s ok 782 /checksum/SHA256/40
1338s ok 783 /checksum/SHA256/41
1338s ok 784 /checksum/SHA256/42
1338s ok 785 /checksum/SHA256/43
1338s ok 786 /checksum/SHA256/44
1338s ok 787 /checksum/SHA256/45
1338s ok 788 /checksum/SHA256/46
1338s ok 789 /checksum/SHA256/47
1338s ok 790 /checksum/SHA256/48
1338s ok 791 /checksum/SHA256/49
1338s ok 792 /checksum/SHA256/50
1338s ok 793 /checksum/SHA256/51
1338s ok 794 /checksum/SHA256/52
1338s ok 795 /checksum/SHA256/53
1338s ok 796 /checksum/SHA256/54
1338s ok 797 /checksum/SHA256/55
1338s ok 798 /checksum/SHA256/56
1338s ok 799 /checksum/SHA256/57
1338s ok 800 /checksum/SHA256/58
1338s ok 801 /checksum/SHA256/59
1338s ok 802 /checksum/SHA256/60
1338s ok 803 /checksum/SHA256/61
1338s ok 804 /checksum/SHA256/62
1338s ok 805 /checksum/SHA256/63
1338s ok 806 /checksum/SHA256/64
1338s ok 807 /checksum/SHA256/65
1338s ok 808 /checksum/SHA256/66
1338s ok 809 /checksum/SHA256/67
1338s ok 810 /checksum/SHA256/68
1338s ok 811 /checksum/SHA256/69
1338s ok 812 /checksum/SHA256/70
1338s ok 813 /checksum/SHA256/71
1338s ok 814 /checksum/SHA256/72
1338s ok 815 /checksum/SHA256/73
1338s ok 816 /checksum/SHA256/74
1338s ok 817 /checksum/SHA256/75
1338s ok 818 /checksum/SHA256/76
1338s ok 819 /checksum/SHA256/77
1338s ok 820 /checksum/SHA256/78
1338s ok 821 /checksum/SHA256/79
1338s ok 822 /checksum/SHA256/80
1338s ok 823 /checksum/SHA256/81
1338s ok 824 /checksum/SHA256/82
1338s ok 825 /checksum/SHA256/83
1338s ok 826 /checksum/SHA256/84
1338s ok 827 /checksum/SHA256/85
1338s ok 828 /checksum/SHA256/86
1338s ok 829 /checksum/SHA256/87
1338s ok 830 /checksum/SHA256/88
1338s ok 831 /checksum/SHA256/89
1338s ok 832 /checksum/SHA256/90
1338s ok 833 /checksum/SHA256/91
1338s ok 834 /checksum/SHA256/92
1338s ok 835 /checksum/SHA256/93
1338s ok 836 /checksum/SHA256/94
1338s ok 837 /checksum/SHA256/95
1338s ok 838 /checksum/SHA256/96
1338s ok 839 /checksum/SHA256/97
1338s ok 840 /checksum/SHA256/98
1338s ok 841 /checksum/SHA256/99
1338s ok 842 /checksum/SHA256/100
1338s ok 843 /checksum/SHA256/101
1338s ok 844 /checksum/SHA256/102
1338s ok 845 /checksum/SHA256/103
1338s ok 846 /checksum/SHA256/104
1338s ok 847 /checksum/SHA256/105
1338s ok 848 /checksum/SHA256/106
1338s ok 849 /checksum/SHA256/107
1338s ok 850 /checksum/SHA256/108
1338s ok 851 /checksum/SHA256/109
1338s ok 852 /checksum/SHA256/110
1338s ok 853 /checksum/SHA256/111
1338s ok 854 /checksum/SHA256/112
1338s ok 855 /checksum/SHA256/113
1338s ok 856 /checksum/SHA256/114
1338s ok 857 /checksum/SHA256/115
1338s ok 858 /checksum/SHA256/116
1338s ok 859 /checksum/SHA256/117
1338s ok 860 /checksum/SHA256/118
1338s ok 861 /checksum/SHA256/119
1338s ok 862 /checksum/SHA256/120
1338s ok 863 /checksum/SHA256/121
1338s ok 864 /checksum/SHA256/122
1338s ok 865 /checksum/SHA256/123
1338s ok 866 /checksum/SHA256/124
1338s ok 867 /checksum/SHA256/125
1338s ok 868 /checksum/SHA256/126
1338s ok 869 /checksum/SHA256/127
1338s ok 870 /checksum/SHA256/128
1338s ok 871 /checksum/SHA256/129
1338s ok 872 /checksum/SHA256/130
1338s ok 873 /checksum/SHA256/131
1338s ok 874 /checksum/SHA256/132
1338s ok 875 /checksum/SHA256/133
1338s ok 876 /checksum/SHA256/134
1338s ok 877 /checksum/SHA256/135
1338s ok 878 /checksum/SHA256/136
1338s ok 879 /checksum/SHA256/137
1338s ok 880 /checksum/SHA256/138
1338s ok 881 /checksum/SHA256/139
1338s ok 882 /checksum/SHA256/140
1338s ok 883 /checksum/SHA256/141
1338s ok 884 /checksum/SHA256/142
1338s ok 885 /checksum/SHA256/143
1338s ok 886 /checksum/SHA256/144
1338s ok 887 /checksum/SHA256/145
1338s ok 888 /checksum/SHA256/146
1338s ok 889 /checksum/SHA256/147
1338s ok 890 /checksum/SHA256/148
1338s ok 891 /checksum/SHA256/149
1338s ok 892 /checksum/SHA256/150
1338s ok 893 /checksum/SHA256/151
1338s ok 894 /checksum/SHA256/152
1338s ok 895 /checksum/SHA256/153
1338s ok 896 /checksum/SHA256/154
1338s ok 897 /checksum/SHA256/155
1338s ok 898 /checksum/SHA256/156
1338s ok 899 /checksum/SHA256/157
1338s ok 900 /checksum/SHA256/158
1338s ok 901 /checksum/SHA256/159
1338s ok 902 /checksum/SHA256/160
1338s ok 903 /checksum/SHA256/161
1338s ok 904 /checksum/SHA256/162
1338s ok 905 /checksum/SHA256/163
1338s ok 906 /checksum/SHA256/164
1338s ok 907 /checksum/SHA256/165
1338s ok 908 /checksum/SHA256/166
1338s ok 909 /checksum/SHA256/167
1338s ok 910 /checksum/SHA256/168
1338s ok 911 /checksum/SHA256/169
1338s ok 912 /checksum/SHA256/170
1338s ok 913 /checksum/SHA256/171
1338s ok 914 /checksum/SHA256/172
1338s ok 915 /checksum/SHA256/173
1338s ok 916 /checksum/SHA256/174
1338s ok 917 /checksum/SHA256/175
1338s ok 918 /checksum/SHA256/176
1338s ok 919 /checksum/SHA256/177
1338s ok 920 /checksum/SHA256/178
1338s ok 921 /checksum/SHA256/179
1338s ok 922 /checksum/SHA256/180
1338s ok 923 /checksum/SHA256/181
1338s ok 924 /checksum/SHA256/182
1338s ok 925 /checksum/SHA256/183
1338s ok 926 /checksum/SHA256/string
1338s ok 927 /checksum/SHA256/bytes
1338s # Start of reset tests
1338s ok 928 /checksum/SHA256/reset/0
1338s ok 929 /checksum/SHA256/reset/1
1338s ok 930 /checksum/SHA256/reset/2
1338s ok 931 /checksum/SHA256/reset/3
1338s ok 932 /checksum/SHA256/reset/4
1338s ok 933 /checksum/SHA256/reset/5
1338s ok 934 /checksum/SHA256/reset/6
1338s ok 935 /checksum/SHA256/reset/7
1338s ok 936 /checksum/SHA256/reset/8
1338s ok 937 /checksum/SHA256/reset/9
1338s ok 938 /checksum/SHA256/reset/10
1338s ok 939 /checksum/SHA256/reset/11
1338s ok 940 /checksum/SHA256/reset/12
1338s ok 941 /checksum/SHA256/reset/13
1338s ok 942 /checksum/SHA256/reset/14
1338s ok 943 /checksum/SHA256/reset/15
1338s ok 944 /checksum/SHA256/reset/16
1338s ok 945 /checksum/SHA256/reset/17
1338s ok 946 /checksum/SHA256/reset/18
1338s ok 947 /checksum/SHA256/reset/19
1338s ok 948 /checksum/SHA256/reset/20
1338s ok 949 /checksum/SHA256/reset/21
1338s ok 950 /checksum/SHA256/reset/22
1338s ok 951 /checksum/SHA256/reset/23
1338s ok 952 /checksum/SHA256/reset/24
1338s ok 953 /checksum/SHA256/reset/25
1338s ok 954 /checksum/SHA256/reset/26
1338s ok 955 /checksum/SHA256/reset/27
1338s ok 956 /checksum/SHA256/reset/28
1338s ok 957 /checksum/SHA256/reset/29
1338s ok 958 /checksum/SHA256/reset/30
1338s ok 959 /checksum/SHA256/reset/31
1338s ok 960 /checksum/SHA256/reset/32
1338s ok 961 /checksum/SHA256/reset/33
1338s ok 962 /checksum/SHA256/reset/34
1338s ok 963 /checksum/SHA256/reset/35
1338s ok 964 /checksum/SHA256/reset/36
1338s ok 965 /checksum/SHA256/reset/37
1338s ok 966 /checksum/SHA256/reset/38
1338s ok 967 /checksum/SHA256/reset/39
1338s ok 968 /checksum/SHA256/reset/40
1338s ok 969 /checksum/SHA256/reset/41
1338s ok 970 /checksum/SHA256/reset/42
1338s ok 971 /checksum/SHA256/reset/43
1338s ok 972 /checksum/SHA256/reset/44
1338s ok 973 /checksum/SHA256/reset/45
1338s ok 974 /checksum/SHA256/reset/46
1338s ok 975 /checksum/SHA256/reset/47
1338s ok 976 /checksum/SHA256/reset/48
1338s ok 977 /checksum/SHA256/reset/49
1338s ok 978 /checksum/SHA256/reset/50
1338s ok 979 /checksum/SHA256/reset/51
1338s ok 980 /checksum/SHA256/reset/52
1338s ok 981 /checksum/SHA256/reset/53
1338s ok 982 /checksum/SHA256/reset/54
1338s ok 983 /checksum/SHA256/reset/55
1338s ok 984 /checksum/SHA256/reset/56
1338s ok 985 /checksum/SHA256/reset/57
1338s ok 986 /checksum/SHA256/reset/58
1338s ok 987 /checksum/SHA256/reset/59
1338s ok 988 /checksum/SHA256/reset/60
1338s ok 989 /checksum/SHA256/reset/61
1338s ok 990 /checksum/SHA256/reset/62
1338s ok 991 /checksum/SHA256/reset/63
1338s ok 992 /checksum/SHA256/reset/64
1338s ok 993 /checksum/SHA256/reset/65
1338s ok 994 /checksum/SHA256/reset/66
1338s ok 995 /checksum/SHA256/reset/67
1338s ok 996 /checksum/SHA256/reset/68
1338s ok 997 /checksum/SHA256/reset/69
1338s ok 998 /checksum/SHA256/reset/70
1338s ok 999 /checksum/SHA256/reset/71
1338s ok 1000 /checksum/SHA256/reset/72
1338s ok 1001 /checksum/SHA256/reset/73
1338s ok 1002 /checksum/SHA256/reset/74
1338s ok 1003 /checksum/SHA256/reset/75
1338s ok 1004 /checksum/SHA256/reset/76
1338s ok 1005 /checksum/SHA256/reset/77
1338s ok 1006 /checksum/SHA256/reset/78
1338s ok 1007 /checksum/SHA256/reset/79
1338s ok 1008 /checksum/SHA256/reset/80
1338s ok 1009 /checksum/SHA256/reset/81
1338s ok 1010 /checksum/SHA256/reset/82
1338s ok 1011 /checksum/SHA256/reset/83
1338s ok 1012 /checksum/SHA256/reset/84
1338s ok 1013 /checksum/SHA256/reset/85
1338s ok 1014 /checksum/SHA256/reset/86
1338s ok 1015 /checksum/SHA256/reset/87
1338s ok 1016 /checksum/SHA256/reset/88
1338s ok 1017 /checksum/SHA256/reset/89
1338s ok 1018 /checksum/SHA256/reset/90
1338s ok 1019 /checksum/SHA256/reset/91
1338s ok 1020 /checksum/SHA256/reset/92
1338s ok 1021 /checksum/SHA256/reset/93
1338s ok 1022 /checksum/SHA256/reset/94
1338s ok 1023 /checksum/SHA256/reset/95
1338s ok 1024 /checksum/SHA256/reset/96
1338s ok 1025 /checksum/SHA256/reset/97
1338s ok 1026 /checksum/SHA256/reset/98
1338s ok 1027 /checksum/SHA256/reset/99
1338s ok 1028 /checksum/SHA256/reset/100
1338s ok 1029 /checksum/SHA256/reset/101
1338s ok 1030 /checksum/SHA256/reset/102
1338s ok 1031 /checksum/SHA256/reset/103
1338s ok 1032 /checksum/SHA256/reset/104
1338s ok 1033 /checksum/SHA256/reset/105
1338s ok 1034 /checksum/SHA256/reset/106
1338s ok 1035 /checksum/SHA256/reset/107
1338s ok 1036 /checksum/SHA256/reset/108
1338s ok 1037 /checksum/SHA256/reset/109
1338s ok 1038 /checksum/SHA256/reset/110
1338s ok 1039 /checksum/SHA256/reset/111
1338s ok 1040 /checksum/SHA256/reset/112
1338s ok 1041 /checksum/SHA256/reset/113
1338s ok 1042 /checksum/SHA256/reset/114
1338s ok 1043 /checksum/SHA256/reset/115
1338s ok 1044 /checksum/SHA256/reset/116
1338s ok 1045 /checksum/SHA256/reset/117
1338s ok 1046 /checksum/SHA256/reset/118
1338s ok 1047 /checksum/SHA256/reset/119
1338s ok 1048 /checksum/SHA256/reset/120
1338s ok 1049 /checksum/SHA256/reset/121
1338s ok 1050 /checksum/SHA256/reset/122
1338s ok 1051 /checksum/SHA256/reset/123
1338s ok 1052 /checksum/SHA256/reset/124
1338s ok 1053 /checksum/SHA256/reset/125
1338s ok 1054 /checksum/SHA256/reset/126
1338s ok 1055 /checksum/SHA256/reset/127
1338s ok 1056 /checksum/SHA256/reset/128
1338s ok 1057 /checksum/SHA256/reset/129
1338s ok 1058 /checksum/SHA256/reset/130
1338s ok 1059 /checksum/SHA256/reset/131
1338s ok 1060 /checksum/SHA256/reset/132
1338s ok 1061 /checksum/SHA256/reset/133
1338s ok 1062 /checksum/SHA256/reset/134
1338s ok 1063 /checksum/SHA256/reset/135
1338s ok 1064 /checksum/SHA256/reset/136
1338s ok 1065 /checksum/SHA256/reset/137
1338s ok 1066 /checksum/SHA256/reset/138
1338s ok 1067 /checksum/SHA256/reset/139
1338s ok 1068 /checksum/SHA256/reset/140
1338s ok 1069 /checksum/SHA256/reset/141
1338s ok 1070 /checksum/SHA256/reset/142
1338s ok 1071 /checksum/SHA256/reset/143
1338s ok 1072 /checksum/SHA256/reset/144
1338s ok 1073 /checksum/SHA256/reset/145
1338s ok 1074 /checksum/SHA256/reset/146
1338s ok 1075 /checksum/SHA256/reset/147
1338s ok 1076 /checksum/SHA256/reset/148
1338s ok 1077 /checksum/SHA256/reset/149
1338s ok 1078 /checksum/SHA256/reset/150
1338s ok 1079 /checksum/SHA256/reset/151
1338s ok 1080 /checksum/SHA256/reset/152
1338s ok 1081 /checksum/SHA256/reset/153
1338s ok 1082 /checksum/SHA256/reset/154
1338s ok 1083 /checksum/SHA256/reset/155
1338s ok 1084 /checksum/SHA256/reset/156
1338s ok 1085 /checksum/SHA256/reset/157
1338s ok 1086 /checksum/SHA256/reset/158
1338s ok 1087 /checksum/SHA256/reset/159
1338s ok 1088 /checksum/SHA256/reset/160
1338s ok 1089 /checksum/SHA256/reset/161
1338s ok 1090 /checksum/SHA256/reset/162
1338s ok 1091 /checksum/SHA256/reset/163
1338s ok 1092 /checksum/SHA256/reset/164
1338s ok 1093 /checksum/SHA256/reset/165
1338s ok 1094 /checksum/SHA256/reset/166
1338s ok 1095 /checksum/SHA256/reset/167
1338s ok 1096 /checksum/SHA256/reset/168
1338s ok 1097 /checksum/SHA256/reset/169
1338s ok 1098 /checksum/SHA256/reset/170
1338s ok 1099 /checksum/SHA256/reset/171
1338s ok 1100 /checksum/SHA256/reset/172
1338s ok 1101 /checksum/SHA256/reset/173
1338s ok 1102 /checksum/SHA256/reset/174
1338s ok 1103 /checksum/SHA256/reset/175
1338s ok 1104 /checksum/SHA256/reset/176
1338s ok 1105 /checksum/SHA256/reset/177
1338s ok 1106 /checksum/SHA256/reset/178
1338s ok 1107 /checksum/SHA256/reset/179
1338s ok 1108 /checksum/SHA256/reset/180
1338s ok 1109 /checksum/SHA256/reset/181
1338s ok 1110 /checksum/SHA256/reset/182
1338s ok 1111 /checksum/SHA256/reset/183
1338s # End of reset tests
1338s # End of SHA256 tests
1338s # Start of SHA384 tests
1338s ok 1112 /checksum/SHA384/0
1338s ok 1113 /checksum/SHA384/1
1338s ok 1114 /checksum/SHA384/2
1338s ok 1115 /checksum/SHA384/3
1338s ok 1116 /checksum/SHA384/4
1338s ok 1117 /checksum/SHA384/5
1338s ok 1118 /checksum/SHA384/6
1338s ok 1119 /checksum/SHA384/7
1338s ok 1120 /checksum/SHA384/8
1338s ok 1121 /checksum/SHA384/9
1338s ok 1122 /checksum/SHA384/10
1338s ok 1123 /checksum/SHA384/11
1338s ok 1124 /checksum/SHA384/12
1338s ok 1125 /checksum/SHA384/13
1338s ok 1126 /checksum/SHA384/14
1338s ok 1127 /checksum/SHA384/15
1338s ok 1128 /checksum/SHA384/16
1338s ok 1129 /checksum/SHA384/17
1338s ok 1130 /checksum/SHA384/18
1338s ok 1131 /checksum/SHA384/19
1338s ok 1132 /checksum/SHA384/20
1338s ok 1133 /checksum/SHA384/21
1338s ok 1134 /checksum/SHA384/22
1338s ok 1135 /checksum/SHA384/23
1338s ok 1136 /checksum/SHA384/24
1338s ok 1137 /checksum/SHA384/25
1338s ok 1138 /checksum/SHA384/26
1338s ok 1139 /checksum/SHA384/27
1338s ok 1140 /checksum/SHA384/28
1338s ok 1141 /checksum/SHA384/29
1338s ok 1142 /checksum/SHA384/30
1338s ok 1143 /checksum/SHA384/31
1338s ok 1144 /checksum/SHA384/32
1338s ok 1145 /checksum/SHA384/33
1338s ok 1146 /checksum/SHA384/34
1338s ok 1147 /checksum/SHA384/35
1338s ok 1148 /checksum/SHA384/36
1338s ok 1149 /checksum/SHA384/37
1338s ok 1150 /checksum/SHA384/38
1338s ok 1151 /checksum/SHA384/39
1338s ok 1152 /checksum/SHA384/40
1338s ok 1153 /checksum/SHA384/41
1338s ok 1154 /checksum/SHA384/42
1338s ok 1155 /checksum/SHA384/43
1338s ok 1156 /checksum/SHA384/44
1338s ok 1157 /checksum/SHA384/45
1338s ok 1158 /checksum/SHA384/46
1338s ok 1159 /checksum/SHA384/47
1338s ok 1160 /checksum/SHA384/48
1338s ok 1161 /checksum/SHA384/49
1338s ok 1162 /checksum/SHA384/50
1338s ok 1163 /checksum/SHA384/51
1338s ok 1164 /checksum/SHA384/52
1338s ok 1165 /checksum/SHA384/53
1338s ok 1166 /checksum/SHA384/54
1338s ok 1167 /checksum/SHA384/55
1338s ok 1168 /checksum/SHA384/56
1338s ok 1169 /checksum/SHA384/57
1338s ok 1170 /checksum/SHA384/58
1338s ok 1171 /checksum/SHA384/59
1338s ok 1172 /checksum/SHA384/60
1338s ok 1173 /checksum/SHA384/61
1338s ok 1174 /checksum/SHA384/62
1338s ok 1175 /checksum/SHA384/63
1338s ok 1176 /checksum/SHA384/64
1338s ok 1177 /checksum/SHA384/65
1338s ok 1178 /checksum/SHA384/66
1338s ok 1179 /checksum/SHA384/67
1338s ok 1180 /checksum/SHA384/68
1338s ok 1181 /checksum/SHA384/69
1338s ok 1182 /checksum/SHA384/70
1338s ok 1183 /checksum/SHA384/71
1338s ok 1184 /checksum/SHA384/72
1338s ok 1185 /checksum/SHA384/73
1338s ok 1186 /checksum/SHA384/74
1338s ok 1187 /checksum/SHA384/75
1338s ok 1188 /checksum/SHA384/76
1338s ok 1189 /checksum/SHA384/77
1338s ok 1190 /checksum/SHA384/78
1338s ok 1191 /checksum/SHA384/79
1338s ok 1192 /checksum/SHA384/80
1338s ok 1193 /checksum/SHA384/81
1338s ok 1194 /checksum/SHA384/82
1338s ok 1195 /checksum/SHA384/83
1338s ok 1196 /checksum/SHA384/84
1338s ok 1197 /checksum/SHA384/85
1338s ok 1198 /checksum/SHA384/86
1338s ok 1199 /checksum/SHA384/87
1338s ok 1200 /checksum/SHA384/88
1338s ok 1201 /checksum/SHA384/89
1338s ok 1202 /checksum/SHA384/90
1338s ok 1203 /checksum/SHA384/91
1338s ok 1204 /checksum/SHA384/92
1338s ok 1205 /checksum/SHA384/93
1338s ok 1206 /checksum/SHA384/94
1338s ok 1207 /checksum/SHA384/95
1338s ok 1208 /checksum/SHA384/96
1338s ok 1209 /checksum/SHA384/97
1338s ok 1210 /checksum/SHA384/98
1338s ok 1211 /checksum/SHA384/99
1338s ok 1212 /checksum/SHA384/100
1338s ok 1213 /checksum/SHA384/101
1338s ok 1214 /checksum/SHA384/102
1338s ok 1215 /checksum/SHA384/103
1338s ok 1216 /checksum/SHA384/104
1338s ok 1217 /checksum/SHA384/105
1338s ok 1218 /checksum/SHA384/106
1338s ok 1219 /checksum/SHA384/107
1338s ok 1220 /checksum/SHA384/108
1338s ok 1221 /checksum/SHA384/109
1338s ok 1222 /checksum/SHA384/110
1338s ok 1223 /checksum/SHA384/111
1338s ok 1224 /checksum/SHA384/112
1338s ok 1225 /checksum/SHA384/113
1338s ok 1226 /checksum/SHA384/114
1338s ok 1227 /checksum/SHA384/115
1338s ok 1228 /checksum/SHA384/116
1338s ok 1229 /checksum/SHA384/117
1338s ok 1230 /checksum/SHA384/118
1338s ok 1231 /checksum/SHA384/119
1338s ok 1232 /checksum/SHA384/120
1338s ok 1233 /checksum/SHA384/121
1338s ok 1234 /checksum/SHA384/122
1338s ok 1235 /checksum/SHA384/123
1338s ok 1236 /checksum/SHA384/124
1338s ok 1237 /checksum/SHA384/125
1338s ok 1238 /checksum/SHA384/126
1338s ok 1239 /checksum/SHA384/127
1338s ok 1240 /checksum/SHA384/128
1338s ok 1241 /checksum/SHA384/129
1338s ok 1242 /checksum/SHA384/130
1338s ok 1243 /checksum/SHA384/131
1338s ok 1244 /checksum/SHA384/132
1338s ok 1245 /checksum/SHA384/133
1338s ok 1246 /checksum/SHA384/134
1338s ok 1247 /checksum/SHA384/135
1338s ok 1248 /checksum/SHA384/136
1338s ok 1249 /checksum/SHA384/137
1338s ok 1250 /checksum/SHA384/138
1338s ok 1251 /checksum/SHA384/139
1338s ok 1252 /checksum/SHA384/140
1338s ok 1253 /checksum/SHA384/141
1338s ok 1254 /checksum/SHA384/142
1338s ok 1255 /checksum/SHA384/143
1338s ok 1256 /checksum/SHA384/144
1338s ok 1257 /checksum/SHA384/145
1338s ok 1258 /checksum/SHA384/146
1338s ok 1259 /checksum/SHA384/147
1338s ok 1260 /checksum/SHA384/148
1338s ok 1261 /checksum/SHA384/149
1338s ok 1262 /checksum/SHA384/150
1338s ok 1263 /checksum/SHA384/151
1338s ok 1264 /checksum/SHA384/152
1338s ok 1265 /checksum/SHA384/153
1338s ok 1266 /checksum/SHA384/154
1338s ok 1267 /checksum/SHA384/155
1338s ok 1268 /checksum/SHA384/156
1338s ok 1269 /checksum/SHA384/157
1338s ok 1270 /checksum/SHA384/158
1338s ok 1271 /checksum/SHA384/159
1338s ok 1272 /checksum/SHA384/160
1338s ok 1273 /checksum/SHA384/161
1338s ok 1274 /checksum/SHA384/162
1338s ok 1275 /checksum/SHA384/163
1338s ok 1276 /checksum/SHA384/164
1338s ok 1277 /checksum/SHA384/165
1338s ok 1278 /checksum/SHA384/166
1338s ok 1279 /checksum/SHA384/167
1338s ok 1280 /checksum/SHA384/168
1338s ok 1281 /checksum/SHA384/169
1338s ok 1282 /checksum/SHA384/170
1338s ok 1283 /checksum/SHA384/171
1338s ok 1284 /checksum/SHA384/172
1338s ok 1285 /checksum/SHA384/173
1338s ok 1286 /checksum/SHA384/174
1338s ok 1287 /checksum/SHA384/175
1338s ok 1288 /checksum/SHA384/176
1338s ok 1289 /checksum/SHA384/177
1338s ok 1290 /checksum/SHA384/178
1338s ok 1291 /checksum/SHA384/179
1338s ok 1292 /checksum/SHA384/180
1338s ok 1293 /checksum/SHA384/181
1338s ok 1294 /checksum/SHA384/182
1338s ok 1295 /checksum/SHA384/183
1338s ok 1296 /checksum/SHA384/string
1338s ok 1297 /checksum/SHA384/bytes
1338s # Start of reset tests
1338s ok 1298 /checksum/SHA384/reset/0
1338s ok 1299 /checksum/SHA384/reset/1
1338s ok 1300 /checksum/SHA384/reset/2
1338s ok 1301 /checksum/SHA384/reset/3
1338s ok 1302 /checksum/SHA384/reset/4
1338s ok 1303 /checksum/SHA384/reset/5
1338s ok 1304 /checksum/SHA384/reset/6
1338s ok 1305 /checksum/SHA384/reset/7
1338s ok 1306 /checksum/SHA384/reset/8
1338s ok 1307 /checksum/SHA384/reset/9
1338s ok 1308 /checksum/SHA384/reset/10
1338s ok 1309 /checksum/SHA384/reset/11
1338s ok 1310 /checksum/SHA384/reset/12
1338s ok 1311 /checksum/SHA384/reset/13
1338s ok 1312 /checksum/SHA384/reset/14
1338s ok 1313 /checksum/SHA384/reset/15
1338s ok 1314 /checksum/SHA384/reset/16
1338s ok 1315 /checksum/SHA384/reset/17
1338s ok 1316 /checksum/SHA384/reset/18
1338s ok 1317 /checksum/SHA384/reset/19
1338s ok 1318 /checksum/SHA384/reset/20
1338s ok 1319 /checksum/SHA384/reset/21
1338s ok 1320 /checksum/SHA384/reset/22
1338s ok 1321 /checksum/SHA384/reset/23
1338s ok 1322 /checksum/SHA384/reset/24
1338s ok 1323 /checksum/SHA384/reset/25
1338s ok 1324 /checksum/SHA384/reset/26
1338s ok 1325 /checksum/SHA384/reset/27
1338s ok 1326 /checksum/SHA384/reset/28
1338s ok 1327 /checksum/SHA384/reset/29
1338s ok 1328 /checksum/SHA384/reset/30
1338s ok 1329 /checksum/SHA384/reset/31
1338s ok 1330 /checksum/SHA384/reset/32
1338s ok 1331 /checksum/SHA384/reset/33
1338s ok 1332 /checksum/SHA384/reset/34
1338s ok 1333 /checksum/SHA384/reset/35
1338s ok 1334 /checksum/SHA384/reset/36
1338s ok 1335 /checksum/SHA384/reset/37
1338s ok 1336 /checksum/SHA384/reset/38
1338s ok 1337 /checksum/SHA384/reset/39
1338s ok 1338 /checksum/SHA384/reset/40
1338s ok 1339 /checksum/SHA384/reset/41
1338s ok 1340 /checksum/SHA384/reset/42
1338s ok 1341 /checksum/SHA384/reset/43
1338s ok 1342 /checksum/SHA384/reset/44
1338s ok 1343 /checksum/SHA384/reset/45
1338s ok 1344 /checksum/SHA384/reset/46
1338s ok 1345 /checksum/SHA384/reset/47
1338s ok 1346 /checksum/SHA384/reset/48
1338s ok 1347 /checksum/SHA384/reset/49
1338s ok 1348 /checksum/SHA384/reset/50
1338s ok 1349 /checksum/SHA384/reset/51
1338s ok 1350 /checksum/SHA384/reset/52
1338s ok 1351 /checksum/SHA384/reset/53
1338s ok 1352 /checksum/SHA384/reset/54
1338s ok 1353 /checksum/SHA384/reset/55
1338s ok 1354 /checksum/SHA384/reset/56
1338s ok 1355 /checksum/SHA384/reset/57
1338s ok 1356 /checksum/SHA384/reset/58
1338s ok 1357 /checksum/SHA384/reset/59
1338s ok 1358 /checksum/SHA384/reset/60
1338s ok 1359 /checksum/SHA384/reset/61
1338s ok 1360 /checksum/SHA384/reset/62
1338s ok 1361 /checksum/SHA384/reset/63
1338s ok 1362 /checksum/SHA384/reset/64
1338s ok 1363 /checksum/SHA384/reset/65
1338s ok 1364 /checksum/SHA384/reset/66
1338s ok 1365 /checksum/SHA384/reset/67
1338s ok 1366 /checksum/SHA384/reset/68
1338s ok 1367 /checksum/SHA384/reset/69
1338s ok 1368 /checksum/SHA384/reset/70
1338s ok 1369 /checksum/SHA384/reset/71
1338s ok 1370 /checksum/SHA384/reset/72
1338s ok 1371 /checksum/SHA384/reset/73
1338s ok 1372 /checksum/SHA384/reset/74
1338s ok 1373 /checksum/SHA384/reset/75
1338s ok 1374 /checksum/SHA384/reset/76
1338s ok 1375 /checksum/SHA384/reset/77
1338s ok 1376 /checksum/SHA384/reset/78
1338s ok 1377 /checksum/SHA384/reset/79
1338s ok 1378 /checksum/SHA384/reset/80
1338s ok 1379 /checksum/SHA384/reset/81
1338s ok 1380 /checksum/SHA384/reset/82
1338s ok 1381 /checksum/SHA384/reset/83
1338s ok 1382 /checksum/SHA384/reset/84
1338s ok 1383 /checksum/SHA384/reset/85
1338s ok 1384 /checksum/SHA384/reset/86
1338s ok 1385 /checksum/SHA384/reset/87
1338s ok 1386 /checksum/SHA384/reset/88
1338s ok 1387 /checksum/SHA384/reset/89
1338s ok 1388 /checksum/SHA384/reset/90
1338s ok 1389 /checksum/SHA384/reset/91
1338s ok 1390 /checksum/SHA384/reset/92
1338s ok 1391 /checksum/SHA384/reset/93
1338s ok 1392 /checksum/SHA384/reset/94
1338s ok 1393 /checksum/SHA384/reset/95
1338s ok 1394 /checksum/SHA384/reset/96
1338s ok 1395 /checksum/SHA384/reset/97
1338s ok 1396 /checksum/SHA384/reset/98
1338s ok 1397 /checksum/SHA384/reset/99
1338s ok 1398 /checksum/SHA384/reset/100
1338s ok 1399 /checksum/SHA384/reset/101
1338s ok 1400 /checksum/SHA384/reset/102
1338s ok 1401 /checksum/SHA384/reset/103
1338s ok 1402 /checksum/SHA384/reset/104
1338s ok 1403 /checksum/SHA384/reset/105
1338s ok 1404 /checksum/SHA384/reset/106
1338s ok 1405 /checksum/SHA384/reset/107
1338s ok 1406 /checksum/SHA384/reset/108
1338s ok 1407 /checksum/SHA384/reset/109
1338s ok 1408 /checksum/SHA384/reset/110
1338s ok 1409 /checksum/SHA384/reset/111
1338s ok 1410 /checksum/SHA384/reset/112
1338s ok 1411 /checksum/SHA384/reset/113
1338s ok 1412 /checksum/SHA384/reset/114
1338s ok 1413 /checksum/SHA384/reset/115
1338s ok 1414 /checksum/SHA384/reset/116
1338s ok 1415 /checksum/SHA384/reset/117
1338s ok 1416 /checksum/SHA384/reset/118
1338s ok 1417 /checksum/SHA384/reset/119
1338s ok 1418 /checksum/SHA384/reset/120
1338s ok 1419 /checksum/SHA384/reset/121
1338s ok 1420 /checksum/SHA384/reset/122
1338s ok 1421 /checksum/SHA384/reset/123
1338s ok 1422 /checksum/SHA384/reset/124
1338s ok 1423 /checksum/SHA384/reset/125
1338s ok 1424 /checksum/SHA384/reset/126
1338s ok 1425 /checksum/SHA384/reset/127
1338s ok 1426 /checksum/SHA384/reset/128
1338s ok 1427 /checksum/SHA384/reset/129
1338s ok 1428 /checksum/SHA384/reset/130
1338s ok 1429 /checksum/SHA384/reset/131
1338s ok 1430 /checksum/SHA384/reset/132
1338s ok 1431 /checksum/SHA384/reset/133
1338s ok 1432 /checksum/SHA384/reset/134
1338s ok 1433 /checksum/SHA384/reset/135
1338s ok 1434 /checksum/SHA384/reset/136
1338s ok 1435 /checksum/SHA384/reset/137
1338s ok 1436 /checksum/SHA384/reset/138
1338s ok 1437 /checksum/SHA384/reset/139
1338s ok 1438 /checksum/SHA384/reset/140
1338s ok 1439 /checksum/SHA384/reset/141
1338s ok 1440 /checksum/SHA384/reset/142
1338s ok 1441 /checksum/SHA384/reset/143
1338s ok 1442 /checksum/SHA384/reset/144
1338s ok 1443 /checksum/SHA384/reset/145
1338s ok 1444 /checksum/SHA384/reset/146
1338s ok 1445 /checksum/SHA384/reset/147
1338s ok 1446 /checksum/SHA384/reset/148
1338s ok 1447 /checksum/SHA384/reset/149
1338s ok 1448 /checksum/SHA384/reset/150
1338s ok 1449 /checksum/SHA384/reset/151
1338s ok 1450 /checksum/SHA384/reset/152
1338s ok 1451 /checksum/SHA384/reset/153
1338s ok 1452 /checksum/SHA384/reset/154
1338s ok 1453 /checksum/SHA384/reset/155
1338s ok 1454 /checksum/SHA384/reset/156
1338s ok 1455 /checksum/SHA384/reset/157
1338s ok 1456 /checksum/SHA384/reset/158
1338s ok 1457 /checksum/SHA384/reset/159
1338s ok 1458 /checksum/SHA384/reset/160
1338s ok 1459 /checksum/SHA384/reset/161
1338s ok 1460 /checksum/SHA384/reset/162
1338s ok 1461 /checksum/SHA384/reset/163
1338s ok 1462 /checksum/SHA384/reset/164
1338s ok 1463 /checksum/SHA384/reset/165
1338s ok 1464 /checksum/SHA384/reset/166
1338s ok 1465 /checksum/SHA384/reset/167
1338s ok 1466 /checksum/SHA384/reset/168
1338s ok 1467 /checksum/SHA384/reset/169
1338s ok 1468 /checksum/SHA384/reset/170
1338s ok 1469 /checksum/SHA384/reset/171
1338s ok 1470 /checksum/SHA384/reset/172
1338s ok 1471 /checksum/SHA384/reset/173
1338s ok 1472 /checksum/SHA384/reset/174
1338s ok 1473 /checksum/SHA384/reset/175
1338s ok 1474 /checksum/SHA384/reset/176
1338s ok 1475 /checksum/SHA384/reset/177
1338s ok 1476 /checksum/SHA384/reset/178
1338s ok 1477 /checksum/SHA384/reset/179
1338s ok 1478 /checksum/SHA384/reset/180
1338s ok 1479 /checksum/SHA384/reset/181
1338s ok 1480 /checksum/SHA384/reset/182
1338s ok 1481 /checksum/SHA384/reset/183
1338s # End of reset tests
1338s # End of SHA384 tests
1338s # Start of SHA512 tests
1338s ok 1482 /checksum/SHA512/0
1338s ok 1483 /checksum/SHA512/1
1338s ok 1484 /checksum/SHA512/2
1338s ok 1485 /checksum/SHA512/3
1338s ok 1486 /checksum/SHA512/4
1338s ok 1487 /checksum/SHA512/5
1338s ok 1488 /checksum/SHA512/6
1338s ok 1489 /checksum/SHA512/7
1338s ok 1490 /checksum/SHA512/8
1338s ok 1491 /checksum/SHA512/9
1338s ok 1492 /checksum/SHA512/10
1338s ok 1493 /checksum/SHA512/11
1338s ok 1494 /checksum/SHA512/12
1338s ok 1495 /checksum/SHA512/13
1338s ok 1496 /checksum/SHA512/14
1338s ok 1497 /checksum/SHA512/15
1338s ok 1498 /checksum/SHA512/16
1338s ok 1499 /checksum/SHA512/17
1338s ok 1500 /checksum/SHA512/18
1338s ok 1501 /checksum/SHA512/19
1338s ok 1502 /checksum/SHA512/20
1338s ok 1503 /checksum/SHA512/21
1338s ok 1504 /checksum/SHA512/22
1338s ok 1505 /checksum/SHA512/23
1338s ok 1506 /checksum/SHA512/24
1338s ok 1507 /checksum/SHA512/25
1338s ok 1508 /checksum/SHA512/26
1338s ok 1509 /checksum/SHA512/27
1338s ok 1510 /checksum/SHA512/28
1338s ok 1511 /checksum/SHA512/29
1338s ok 1512 /checksum/SHA512/30
1338s ok 1513 /checksum/SHA512/31
1338s ok 1514 /checksum/SHA512/32
1338s ok 1515 /checksum/SHA512/33
1338s ok 1516 /checksum/SHA512/34
1338s ok 1517 /checksum/SHA512/35
1338s ok 1518 /checksum/SHA512/36
1338s ok 1519 /checksum/SHA512/37
1338s ok 1520 /checksum/SHA512/38
1338s ok 1521 /checksum/SHA512/39
1338s ok 1522 /checksum/SHA512/40
1338s ok 1523 /checksum/SHA512/41
1338s ok 1524 /checksum/SHA512/42
1338s ok 1525 /checksum/SHA512/43
1338s ok 1526 /checksum/SHA512/44
1338s ok 1527 /checksum/SHA512/45
1338s ok 1528 /checksum/SHA512/46
1338s ok 1529 /checksum/SHA512/47
1338s ok 1530 /checksum/SHA512/48
1338s ok 1531 /checksum/SHA512/49
1338s ok 1532 /checksum/SHA512/50
1338s ok 1533 /checksum/SHA512/51
1338s ok 1534 /checksum/SHA512/52
1338s ok 1535 /checksum/SHA512/53
1338s ok 1536 /checksum/SHA512/54
1338s ok 1537 /checksum/SHA512/55
1338s ok 1538 /checksum/SHA512/56
1338s ok 1539 /checksum/SHA512/57
1338s ok 1540 /checksum/SHA512/58
1338s ok 1541 /checksum/SHA512/59
1338s ok 1542 /checksum/SHA512/60
1338s ok 1543 /checksum/SHA512/61
1338s ok 1544 /checksum/SHA512/62
1338s ok 1545 /checksum/SHA512/63
1338s ok 1546 /checksum/SHA512/64
1338s ok 1547 /checksum/SHA512/65
1338s ok 1548 /checksum/SHA512/66
1338s ok 1549 /checksum/SHA512/67
1338s ok 1550 /checksum/SHA512/68
1338s ok 1551 /checksum/SHA512/69
1338s ok 1552 /checksum/SHA512/70
1338s ok 1553 /checksum/SHA512/71
1338s ok 1554 /checksum/SHA512/72
1338s ok 1555 /checksum/SHA512/73
1338s ok 1556 /checksum/SHA512/74
1338s ok 1557 /checksum/SHA512/75
1338s ok 1558 /checksum/SHA512/76
1338s ok 1559 /checksum/SHA512/77
1338s ok 1560 /checksum/SHA512/78
1338s ok 1561 /checksum/SHA512/79
1338s ok 1562 /checksum/SHA512/80
1338s ok 1563 /checksum/SHA512/81
1338s ok 1564 /checksum/SHA512/82
1338s ok 1565 /checksum/SHA512/83
1338s ok 1566 /checksum/SHA512/84
1338s ok 1567 /checksum/SHA512/85
1338s ok 1568 /checksum/SHA512/86
1338s ok 1569 /checksum/SHA512/87
1338s ok 1570 /checksum/SHA512/88
1338s ok 1571 /checksum/SHA512/89
1338s ok 1572 /checksum/SHA512/90
1338s ok 1573 /checksum/SHA512/91
1338s ok 1574 /checksum/SHA512/92
1338s ok 1575 /checksum/SHA512/93
1338s ok 1576 /checksum/SHA512/94
1338s ok 1577 /checksum/SHA512/95
1338s ok 1578 /checksum/SHA512/96
1338s ok 1579 /checksum/SHA512/97
1338s ok 1580 /checksum/SHA512/98
1338s ok 1581 /checksum/SHA512/99
1338s ok 1582 /checksum/SHA512/100
1338s ok 1583 /checksum/SHA512/101
1338s ok 1584 /checksum/SHA512/102
1338s ok 1585 /checksum/SHA512/103
1338s ok 1586 /checksum/SHA512/104
1338s ok 1587 /checksum/SHA512/105
1338s ok 1588 /checksum/SHA512/106
1338s ok 1589 /checksum/SHA512/107
1338s ok 1590 /checksum/SHA512/108
1338s ok 1591 /checksum/SHA512/109
1338s ok 1592 /checksum/SHA512/110
1338s ok 1593 /checksum/SHA512/111
1338s ok 1594 /checksum/SHA512/112
1338s ok 1595 /checksum/SHA512/113
1338s ok 1596 /checksum/SHA512/114
1338s ok 1597 /checksum/SHA512/115
1338s ok 1598 /checksum/SHA512/116
1338s ok 1599 /checksum/SHA512/117
1338s ok 1600 /checksum/SHA512/118
1338s ok 1601 /checksum/SHA512/119
1338s ok 1602 /checksum/SHA512/120
1338s ok 1603 /checksum/SHA512/121
1338s ok 1604 /checksum/SHA512/122
1338s ok 1605 /checksum/SHA512/123
1338s ok 1606 /checksum/SHA512/124
1338s ok 1607 /checksum/SHA512/125
1338s ok 1608 /checksum/SHA512/126
1338s ok 1609 /checksum/SHA512/127
1338s ok 1610 /checksum/SHA512/128
1338s ok 1611 /checksum/SHA512/129
1338s ok 1612 /checksum/SHA512/130
1338s ok 1613 /checksum/SHA512/131
1338s ok 1614 /checksum/SHA512/132
1338s ok 1615 /checksum/SHA512/133
1338s ok 1616 /checksum/SHA512/134
1338s ok 1617 /checksum/SHA512/135
1338s ok 1618 /checksum/SHA512/136
1338s ok 1619 /checksum/SHA512/137
1338s ok 1620 /checksum/SHA512/138
1338s ok 1621 /checksum/SHA512/139
1338s ok 1622 /checksum/SHA512/140
1338s ok 1623 /checksum/SHA512/141
1338s ok 1624 /checksum/SHA512/142
1338s ok 1625 /checksum/SHA512/143
1338s ok 1626 /checksum/SHA512/144
1338s ok 1627 /checksum/SHA512/145
1338s ok 1628 /checksum/SHA512/146
1338s ok 1629 /checksum/SHA512/147
1338s ok 1630 /checksum/SHA512/148
1338s ok 1631 /checksum/SHA512/149
1338s ok 1632 /checksum/SHA512/150
1338s ok 1633 /checksum/SHA512/151
1338s ok 1634 /checksum/SHA512/152
1338s ok 1635 /checksum/SHA512/153
1338s ok 1636 /checksum/SHA512/154
1338s ok 1637 /checksum/SHA512/155
1338s ok 1638 /checksum/SHA512/156
1338s ok 1639 /checksum/SHA512/157
1338s ok 1640 /checksum/SHA512/158
1338s ok 1641 /checksum/SHA512/159
1338s ok 1642 /checksum/SHA512/160
1338s ok 1643 /checksum/SHA512/161
1338s ok 1644 /checksum/SHA512/162
1338s ok 1645 /checksum/SHA512/163
1338s ok 1646 /checksum/SHA512/164
1338s ok 1647 /checksum/SHA512/165
1338s ok 1648 /checksum/SHA512/166
1338s ok 1649 /checksum/SHA512/167
1338s ok 1650 /checksum/SHA512/168
1338s ok 1651 /checksum/SHA512/169
1338s ok 1652 /checksum/SHA512/170
1338s ok 1653 /checksum/SHA512/171
1338s ok 1654 /checksum/SHA512/172
1338s ok 1655 /checksum/SHA512/173
1338s ok 1656 /checksum/SHA512/174
1338s ok 1657 /checksum/SHA512/175
1338s ok 1658 /checksum/SHA512/176
1338s ok 1659 /checksum/SHA512/177
1338s ok 1660 /checksum/SHA512/178
1338s ok 1661 /checksum/SHA512/179
1338s ok 1662 /checksum/SHA512/180
1338s ok 1663 /checksum/SHA512/181
1338s ok 1664 /checksum/SHA512/182
1338s ok 1665 /checksum/SHA512/183
1338s ok 1666 /checksum/SHA512/string
1338s ok 1667 /checksum/SHA512/bytes
1338s # Start of reset tests
1338s ok 1668 /checksum/SHA512/reset/0
1338s ok 1669 /checksum/SHA512/reset/1
1338s ok 1670 /checksum/SHA512/reset/2
1338s ok 1671 /checksum/SHA512/reset/3
1338s ok 1672 /checksum/SHA512/reset/4
1338s ok 1673 /checksum/SHA512/reset/5
1338s ok 1674 /checksum/SHA512/reset/6
1338s ok 1675 /checksum/SHA512/reset/7
1338s ok 1676 /checksum/SHA512/reset/8
1338s ok 1677 /checksum/SHA512/reset/9
1338s ok 1678 /checksum/SHA512/reset/10
1338s ok 1679 /checksum/SHA512/reset/11
1338s ok 1680 /checksum/SHA512/reset/12
1338s ok 1681 /checksum/SHA512/reset/13
1338s ok 1682 /checksum/SHA512/reset/14
1338s ok 1683 /checksum/SHA512/reset/15
1338s ok 1684 /checksum/SHA512/reset/16
1338s ok 1685 /checksum/SHA512/reset/17
1338s ok 1686 /checksum/SHA512/reset/18
1338s ok 1687 /checksum/SHA512/reset/19
1338s ok 1688 /checksum/SHA512/reset/20
1338s ok 1689 /checksum/SHA512/reset/21
1338s ok 1690 /checksum/SHA512/reset/22
1338s ok 1691 /checksum/SHA512/reset/23
1338s ok 1692 /checksum/SHA512/reset/24
1338s ok 1693 /checksum/SHA512/reset/25
1338s ok 1694 /checksum/SHA512/reset/26
1338s ok 1695 /checksum/SHA512/reset/27
1338s ok 1696 /checksum/SHA512/reset/28
1338s ok 1697 /checksum/SHA512/reset/29
1338s ok 1698 /checksum/SHA512/reset/30
1338s ok 1699 /checksum/SHA512/reset/31
1338s ok 1700 /checksum/SHA512/reset/32
1338s ok 1701 /checksum/SHA512/reset/33
1338s ok 1702 /checksum/SHA512/reset/34
1338s ok 1703 /checksum/SHA512/reset/35
1338s ok 1704 /checksum/SHA512/reset/36
1338s ok 1705 /checksum/SHA512/reset/37
1338s ok 1706 /checksum/SHA512/reset/38
1338s ok 1707 /checksum/SHA512/reset/39
1338s ok 1708 /checksum/SHA512/reset/40
1338s ok 1709 /checksum/SHA512/reset/41
1338s ok 1710 /checksum/SHA512/reset/42
1338s ok 1711 /checksum/SHA512/reset/43
1338s ok 1712 /checksum/SHA512/reset/44
1338s ok 1713 /checksum/SHA512/reset/45
1338s ok 1714 /checksum/SHA512/reset/46
1338s ok 1715 /checksum/SHA512/reset/47
1338s ok 1716 /checksum/SHA512/reset/48
1338s ok 1717 /checksum/SHA512/reset/49
1338s ok 1718 /checksum/SHA512/reset/50
1338s ok 1719 /checksum/SHA512/reset/51
1338s ok 1720 /checksum/SHA512/reset/52
1338s ok 1721 /checksum/SHA512/reset/53
1338s ok 1722 /checksum/SHA512/reset/54
1338s ok 1723 /checksum/SHA512/reset/55
1338s ok 1724 /checksum/SHA512/reset/56
1338s ok 1725 /checksum/SHA512/reset/57
1338s ok 1726 /checksum/SHA512/reset/58
1338s ok 1727 /checksum/SHA512/reset/59
1338s ok 1728 /checksum/SHA512/reset/60
1338s ok 1729 /checksum/SHA512/reset/61
1338s ok 1730 /checksum/SHA512/reset/62
1338s ok 1731 /checksum/SHA512/reset/63
1338s ok 1732 /checksum/SHA512/reset/64
1338s ok 1733 /checksum/SHA512/reset/65
1338s ok 1734 /checksum/SHA512/reset/66
1338s ok 1735 /checksum/SHA512/reset/67
1338s ok 1736 /checksum/SHA512/reset/68
1338s ok 1737 /checksum/SHA512/reset/69
1338s ok 1738 /checksum/SHA512/reset/70
1338s ok 1739 /checksum/SHA512/reset/71
1338s ok 1740 /checksum/SHA512/reset/72
1338s ok 1741 /checksum/SHA512/reset/73
1338s ok 1742 /checksum/SHA512/reset/74
1338s ok 1743 /checksum/SHA512/reset/75
1338s ok 1744 /checksum/SHA512/reset/76
1338s ok 1745 /checksum/SHA512/reset/77
1338s ok 1746 /checksum/SHA512/reset/78
1338s ok 1747 /checksum/SHA512/reset/79
1338s ok 1748 /checksum/SHA512/reset/80
1338s ok 1749 /checksum/SHA512/reset/81
1338s ok 1750 /checksum/SHA512/reset/82
1338s ok 1751 /checksum/SHA512/reset/83
1338s ok 1752 /checksum/SHA512/reset/84
1338s ok 1753 /checksum/SHA512/reset/85
1338s ok 1754 /checksum/SHA512/reset/86
1338s ok 1755 /checksum/SHA512/reset/87
1338s ok 1756 /checksum/SHA512/reset/88
1338s ok 1757 /checksum/SHA512/reset/89
1338s ok 1758 /checksum/SHA512/reset/90
1338s ok 1759 /checksum/SHA512/reset/91
1338s ok 1760 /checksum/SHA512/reset/92
1338s ok 1761 /checksum/SHA512/reset/93
1338s ok 1762 /checksum/SHA512/reset/94
1338s ok 1763 /checksum/SHA512/reset/95
1338s ok 1764 /checksum/SHA512/reset/96
1338s ok 1765 /checksum/SHA512/reset/97
1338s ok 1766 /checksum/SHA512/reset/98
1338s ok 1767 /checksum/SHA512/reset/99
1338s ok 1768 /checksum/SHA512/reset/100
1338s ok 1769 /checksum/SHA512/reset/101
1338s ok 1770 /checksum/SHA512/reset/102
1338s ok 1771 /checksum/SHA512/reset/103
1338s ok 1772 /checksum/SHA512/reset/104
1338s ok 1773 /checksum/SHA512/reset/105
1338s ok 1774 /checksum/SHA512/reset/106
1338s ok 1775 /checksum/SHA512/reset/107
1338s ok 1776 /checksum/SHA512/reset/108
1338s ok 1777 /checksum/SHA512/reset/109
1338s ok 1778 /checksum/SHA512/reset/110
1338s ok 1779 /checksum/SHA512/reset/111
1338s ok 1780 /checksum/SHA512/reset/112
1338s ok 1781 /checksum/SHA512/reset/113
1338s ok 1782 /checksum/SHA512/reset/114
1338s ok 1783 /checksum/SHA512/reset/115
1338s ok 1784 /checksum/SHA512/reset/116
1338s ok 1785 /checksum/SHA512/reset/117
1338s ok 1786 /checksum/SHA512/reset/118
1338s ok 1787 /checksum/SHA512/reset/119
1338s ok 1788 /checksum/SHA512/reset/120
1338s ok 1789 /checksum/SHA512/reset/121
1338s ok 1790 /checksum/SHA512/reset/122
1338s ok 1791 /checksum/SHA512/reset/123
1338s ok 1792 /checksum/SHA512/reset/124
1338s ok 1793 /checksum/SHA512/reset/125
1338s ok 1794 /checksum/SHA512/reset/126
1338s ok 1795 /checksum/SHA512/reset/127
1338s ok 1796 /checksum/SHA512/reset/128
1338s ok 1797 /checksum/SHA512/reset/129
1338s ok 1798 /checksum/SHA512/reset/130
1338s ok 1799 /checksum/SHA512/reset/131
1338s ok 1800 /checksum/SHA512/reset/132
1338s ok 1801 /checksum/SHA512/reset/133
1338s ok 1802 /checksum/SHA512/reset/134
1338s ok 1803 /checksum/SHA512/reset/135
1338s ok 1804 /checksum/SHA512/reset/136
1338s ok 1805 /checksum/SHA512/reset/137
1338s ok 1806 /checksum/SHA512/reset/138
1338s ok 1807 /checksum/SHA512/reset/139
1338s ok 1808 /checksum/SHA512/reset/140
1338s ok 1809 /checksum/SHA512/reset/141
1338s ok 1810 /checksum/SHA512/reset/142
1338s ok 1811 /checksum/SHA512/reset/143
1338s ok 1812 /checksum/SHA512/reset/144
1338s ok 1813 /checksum/SHA512/reset/145
1338s ok 1814 /checksum/SHA512/reset/146
1338s ok 1815 /checksum/SHA512/reset/147
1338s ok 1816 /checksum/SHA512/reset/148
1338s ok 1817 /checksum/SHA512/reset/149
1338s ok 1818 /checksum/SHA512/reset/150
1338s ok 1819 /checksum/SHA512/reset/151
1338s ok 1820 /checksum/SHA512/reset/152
1338s ok 1821 /checksum/SHA512/reset/153
1338s ok 1822 /checksum/SHA512/reset/154
1338s ok 1823 /checksum/SHA512/reset/155
1338s ok 1824 /checksum/SHA512/reset/156
1338s ok 1825 /checksum/SHA512/reset/157
1338s ok 1826 /checksum/SHA512/reset/158
1338s ok 1827 /checksum/SHA512/reset/159
1338s ok 1828 /checksum/SHA512/reset/160
1338s ok 1829 /checksum/SHA512/reset/161
1338s ok 1830 /checksum/SHA512/reset/162
1338s ok 1831 /checksum/SHA512/reset/163
1338s ok 1832 /checksum/SHA512/reset/164
1338s ok 1833 /checksum/SHA512/reset/165
1338s ok 1834 /checksum/SHA512/reset/166
1338s ok 1835 /checksum/SHA512/reset/167
1338s ok 1836 /checksum/SHA512/reset/168
1338s ok 1837 /checksum/SHA512/reset/169
1338s ok 1838 /checksum/SHA512/reset/170
1338s ok 1839 /checksum/SHA512/reset/171
1338s ok 1840 /checksum/SHA512/reset/172
1338s ok 1841 /checksum/SHA512/reset/173
1338s ok 1842 /checksum/SHA512/reset/174
1338s ok 1843 /checksum/SHA512/reset/175
1338s ok 1844 /checksum/SHA512/reset/176
1338s ok 1845 /checksum/SHA512/reset/177
1338s ok 1846 /checksum/SHA512/reset/178
1338s ok 1847 /checksum/SHA512/reset/179
1338s ok 1848 /checksum/SHA512/reset/180
1338s ok 1849 /checksum/SHA512/reset/181
1338s ok 1850 /checksum/SHA512/reset/182
1338s ok 1851 /checksum/SHA512/reset/183
1338s # End of reset tests
1338s # End of SHA512 tests
1338s # End of checksum tests
1338s ok - glib/checksum.test
1338s # Running test: glib/gdbus-auth.test
1338s TAP version 14
1338s # random seed: R02Sd9cb86e2448738d14405cbcd3283d7ef
1338s 1..5
1338s # Start of gdbus tests
1338s # Start of auth tests
1338s # Start of client tests
1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/home
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/cache
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/system-config2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/config
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/system-data2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/data
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/state
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/EXTERNAL/.dirs/runtime
1338s ok 1 /gdbus/auth/client/EXTERNAL
1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
1338s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
1338s # End of client tests
1338s # Start of server tests
1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/home
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/cache
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/config
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/data
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/state
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/ANONYMOUS/.dirs/runtime
1338s ok 3 /gdbus/auth/server/ANONYMOUS
1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/home
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/cache
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/system-config2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/config
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/system-data2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/data
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/state
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/EXTERNAL/.dirs/runtime
1338s ok 4 /gdbus/auth/server/EXTERNAL
1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DW6H22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
1338s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
1338s # End of server tests
1338s # End of auth tests
1338s # End of gdbus tests
1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1338s ok - glib/gdbus-auth.test
1338s # Running test: glib/mkenums.py.test
1338s TAP version 13
1338s ok 1 __main__.TestMkenums.test_available_in
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpia21nkv9
1338s # rspfile: False
1338s # /tmp/tmpia21nkv9/tmpj8su6f6i.h:
1338s # typedef enum {
1338s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1338s # } GDBusServerFlags;
1338s #
1338s # /tmp/tmpia21nkv9/tmp77vzbxew.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpia21nkv9/tmp77vzbxew.template', '/tmp/tmpia21nkv9/tmpj8su6f6i.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmpia21nkv9/tmpj8su6f6i.h
1338s # basename: tmpj8su6f6i.h
1338s # enumeration-production
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-header
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-production
1338s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1338s # valuenick: user
1338s # valuenum: 4
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-tail
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 2 __main__.TestMkenums.test_comma_in_enum_value
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmp25a7wy8a
1338s # rspfile: False
1338s # /tmp/tmp25a7wy8a/tmpxgi1mbyl.h:
1338s # typedef enum {
1338s # ENUM_VALUE_WITH_COMMA = ',',
1338s # } TestCommaEnum;
1338s #
1338s # /tmp/tmp25a7wy8a/tmp8yz1wesh.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp25a7wy8a/tmp8yz1wesh.template', '/tmp/tmp25a7wy8a/tmpxgi1mbyl.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmp25a7wy8a/tmpxgi1mbyl.h
1338s # basename: tmpxgi1mbyl.h
1338s # enumeration-production
1338s # EnumName: TestCommaEnum
1338s # enum_name: test_comma_enum
1338s # ENUMNAME: TEST_COMMA_ENUM
1338s # ENUMSHORT: COMMA_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-header
1338s # EnumName: TestCommaEnum
1338s # enum_name: test_comma_enum
1338s # ENUMNAME: TEST_COMMA_ENUM
1338s # ENUMSHORT: COMMA_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-production
1338s # VALUENAME: ENUM_VALUE_WITH_COMMA
1338s # valuenick: comma
1338s # valuenum: 44
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-tail
1338s # EnumName: TestCommaEnum
1338s # enum_name: test_comma_enum
1338s # ENUMNAME: TEST_COMMA_ENUM
1338s # ENUMSHORT: COMMA_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 3 __main__.TestMkenums.test_deprecated_in
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpzj6oyf4w
1338s # rspfile: False
1338s # /tmp/tmpzj6oyf4w/tmp5qskcq5s.h:
1338s # typedef enum {
1338s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1338s # } GDBusServerFlags;
1338s #
1338s # /tmp/tmpzj6oyf4w/tmpyyg8rd1i.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzj6oyf4w/tmpyyg8rd1i.template', '/tmp/tmpzj6oyf4w/tmp5qskcq5s.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmpzj6oyf4w/tmp5qskcq5s.h
1338s # basename: tmp5qskcq5s.h
1338s # enumeration-production
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-header
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-production
1338s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1338s # valuenick: user
1338s # valuenum: 4
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-tail
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 4 __main__.TestMkenums.test_deprecated_in_for
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmp5k6yeyzg
1338s # rspfile: False
1338s # /tmp/tmp5k6yeyzg/tmpcaoci938.h:
1338s # typedef enum {
1338s # 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)
1338s # } GDBusServerFlags;
1338s #
1338s # /tmp/tmp5k6yeyzg/tmp7egwtjc8.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5k6yeyzg/tmp7egwtjc8.template', '/tmp/tmp5k6yeyzg/tmpcaoci938.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmp5k6yeyzg/tmpcaoci938.h
1338s # basename: tmpcaoci938.h
1338s # enumeration-production
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-header
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-production
1338s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1338s # valuenick: user
1338s # valuenum: 4
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # value-tail
1338s # EnumName: GDBusServerFlags
1338s # enum_name: g_dbus_server_flags
1338s # ENUMNAME: G_DBUS_SERVER_FLAGS
1338s # ENUMSHORT: DBUS_SERVER_FLAGS
1338s # ENUMPREFIX: G
1338s # enumsince:
1338s # type: flags
1338s # Type: Flags
1338s # TYPE: FLAGS
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 5 __main__.TestMkenums.test_empty_header
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmp8n8dpahi
1338s # rspfile: False
1338s # /tmp/tmp8n8dpahi/tmpn46gtk0c.h:
1338s # /tmp/tmp8n8dpahi/tmp9kvy43rn.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8n8dpahi/tmp9kvy43rn.template', '/tmp/tmp8n8dpahi/tmpn46gtk0c.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 6 __main__.TestMkenums.test_empty_template
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpdklc6i1y
1338s # rspfile: False
1338s # /tmp/tmpdklc6i1y/tmpn8r8290b.template:
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdklc6i1y/tmpn8r8290b.template']
1338s # Return code: 0
1338s # Output:
1338s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1338s #
1338s #
1338s # /* Generated data ends here */
1338s # Error:
1338s ok 7 __main__.TestMkenums.test_enum_name
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmp064oavhq
1338s # rspfile: False
1338s # /tmp/tmp064oavhq/tmpxnkilw4h.h:
1338s # typedef enum _SomeEnumIdentifier {
1338s # ENUM_VALUE
1338s # } SomeEnumIdentifier;
1338s #
1338s # /tmp/tmp064oavhq/tmpnfct5m9y.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp064oavhq/tmpnfct5m9y.template', '/tmp/tmp064oavhq/tmpxnkilw4h.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmp064oavhq/tmpxnkilw4h.h
1338s # basename: tmpxnkilw4h.h
1338s # enumeration-production
1338s # EnumName: SomeEnumIdentifier
1338s # enum_name: some_enum_identifier
1338s # ENUMNAME: SOME_ENUM_IDENTIFIER
1338s # ENUMSHORT: ENUM_IDENTIFIER
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-header
1338s # EnumName: SomeEnumIdentifier
1338s # enum_name: some_enum_identifier
1338s # ENUMNAME: SOME_ENUM_IDENTIFIER
1338s # ENUMSHORT: ENUM_IDENTIFIER
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-production
1338s # VALUENAME: ENUM_VALUE
1338s # valuenick: value
1338s # valuenum: 0
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-tail
1338s # EnumName: SomeEnumIdentifier
1338s # enum_name: some_enum_identifier
1338s # ENUMNAME: SOME_ENUM_IDENTIFIER
1338s # ENUMSHORT: ENUM_IDENTIFIER
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 8 __main__.TestMkenums.test_enum_private_public
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpyifi20cu
1338s # rspfile: False
1338s # /tmp/tmpyifi20cu/tmpbfrp5uuq.h:
1338s # typedef enum {
1338s # ENUM_VALUE_PUBLIC1,
1338s # /*< private >*/
1338s # ENUM_VALUE_PRIVATE,
1338s # } SomeEnumA
1338s #
1338s # /tmp/tmpyifi20cu/tmppzw6hb7_.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyifi20cu/tmppzw6hb7_.template', '/tmp/tmpyifi20cu/tmpbfrp5uuq.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmpyifi20cu/tmpbfrp5uuq.h
1338s # basename: tmpbfrp5uuq.h
1338s # enumeration-production
1338s # EnumName: SomeEnumA
1338s # enum_name: some_enum_a
1338s # ENUMNAME: SOME_ENUM_A
1338s # ENUMSHORT: ENUM_A
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-header
1338s # EnumName: SomeEnumA
1338s # enum_name: some_enum_a
1338s # ENUMNAME: SOME_ENUM_A
1338s # ENUMSHORT: ENUM_A
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-production
1338s # VALUENAME: ENUM_VALUE_PUBLIC1
1338s # valuenick: public1
1338s # valuenum: 0
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-tail
1338s # EnumName: SomeEnumA
1338s # enum_name: some_enum_a
1338s # ENUMNAME: SOME_ENUM_A
1338s # ENUMSHORT: ENUM_A
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s #
1338s # /tmp/tmpyifi20cu/tmp9ilj7hxw.h:
1338s # typedef enum {
1338s # /*< private >*/
1338s # ENUM_VALUE_PRIVATE,
1338s # /*< public >*/
1338s # ENUM_VALUE_PUBLIC2,
1338s # } SomeEnumB;
1338s #
1338s # /tmp/tmpyifi20cu/tmp21bl4xrf.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyifi20cu/tmp21bl4xrf.template', '/tmp/tmpyifi20cu/tmp9ilj7hxw.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmpyifi20cu/tmp9ilj7hxw.h
1338s # basename: tmp9ilj7hxw.h
1338s # enumeration-production
1338s # EnumName: SomeEnumB
1338s # enum_name: some_enum_b
1338s # ENUMNAME: SOME_ENUM_B
1338s # ENUMSHORT: ENUM_B
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-header
1338s # EnumName: SomeEnumB
1338s # enum_name: some_enum_b
1338s # ENUMNAME: SOME_ENUM_B
1338s # ENUMSHORT: ENUM_B
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-production
1338s # VALUENAME: ENUM_VALUE_PUBLIC2
1338s # valuenick: public2
1338s # valuenum: 1
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-tail
1338s # EnumName: SomeEnumB
1338s # enum_name: some_enum_b
1338s # ENUMNAME: SOME_ENUM_B
1338s # ENUMSHORT: ENUM_B
1338s # ENUMPREFIX: SOME
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpv0mz69of
1338s # rspfile: False
1338s # /tmp/tmpv0mz69of/tmpmre6646q.h:
1338s # typedef enum {
1338s # /*< private >*/
1338s # ENUM_VALUE_PRIVATE = 5,
1338s # /*< public >*/
1338s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1338s # } TestSymbolicEnum;
1338s #
1338s # /tmp/tmpv0mz69of/tmp3e1qobsr.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN file-production ***/
1338s # file-production
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-production ***/
1338s #
1338s # /*** BEGIN enumeration-production ***/
1338s # enumeration-production
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END enumeration-production ***/
1338s #
1338s # /*** BEGIN value-header ***/
1338s # value-header
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-header ***/
1338s #
1338s # /*** BEGIN value-production ***/
1338s # value-production
1338s # VALUENAME: @VALUENAME@
1338s # valuenick: @valuenick@
1338s # valuenum: @valuenum@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-production ***/
1338s #
1338s # /*** BEGIN value-tail ***/
1338s # value-tail
1338s # EnumName: @EnumName@
1338s # enum_name: @enum_name@
1338s # ENUMNAME: @ENUMNAME@
1338s # ENUMSHORT: @ENUMSHORT@
1338s # ENUMPREFIX: @ENUMPREFIX@
1338s # enumsince: @enumsince@
1338s # type: @type@
1338s # Type: @Type@
1338s # TYPE: @TYPE@
1338s # /*** END value-tail ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # /*** END file-tail ***/
1338s #
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv0mz69of/tmp3e1qobsr.template', '/tmp/tmpv0mz69of/tmpmre6646q.h']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # file-production
1338s # filename: /tmp/tmpv0mz69of/tmpmre6646q.h
1338s # basename: tmpmre6646q.h
1338s # enumeration-production
1338s # EnumName: TestSymbolicEnum
1338s # enum_name: test_symbolic_enum
1338s # ENUMNAME: TEST_SYMBOLIC_ENUM
1338s # ENUMSHORT: SYMBOLIC_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-header
1338s # EnumName: TestSymbolicEnum
1338s # enum_name: test_symbolic_enum
1338s # ENUMNAME: TEST_SYMBOLIC_ENUM
1338s # ENUMSHORT: SYMBOLIC_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-production
1338s # VALUENAME: ENUM_VALUE_PUBLIC
1338s # valuenick: public
1338s # valuenum: 7
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # value-tail
1338s # EnumName: TestSymbolicEnum
1338s # enum_name: test_symbolic_enum
1338s # ENUMNAME: TEST_SYMBOLIC_ENUM
1338s # ENUMSHORT: SYMBOLIC_ENUM
1338s # ENUMPREFIX: TEST
1338s # enumsince:
1338s # type: enum
1338s # Type: Enum
1338s # TYPE: ENUM
1338s # file-tail
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s # Executing: glib/mkenums.py.test
1338s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpqr1sje5t
1338s # rspfile: False
1338s # /tmp/tmpqr1sje5t/tmpxj__l_m8.template:
1338s # /*** BEGIN file-header ***/
1338s # file-header
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-header ***/
1338s #
1338s # /*** BEGIN comment ***/
1338s # comment
1338s # comment: @comment@
1338s # /*** END comment ***/
1338s #
1338s # /*** BEGIN file-tail ***/
1338s # file-tail
1338s # filename: @filename@
1338s # basename: @basename@
1338s # /*** END file-tail ***/
1338s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqr1sje5t/tmpxj__l_m8.template']
1338s # Return code: 0
1338s # Output:
1338s # comment
1338s # 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.
1338s #
1338s #
1338s # file-header
1338s # filename: @filename@
1338s # basename: @basename@
1338s # file-tail
1338s # filename: @filename@
1338s # basename: @basename@
1338s #
1338s # comment
1338s # comment: Generated data ends here
1338s # Error:
1338s # WARNING: @filename@ used in file-header section.
1338s # WARNING: @basename@ used in file-header section.
1338s # WARNING: @filename@ used in file-tail section.
1338s # WARNING: @basename@ used in file-tail section.
1338s ok 11 __main__.TestMkenums.test_help
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpqlqb94f0
1338s # rspfile: False
1338s # Running: ['/usr/bin/glib-mkenums', '--help']
1338s # Return code: 0
1338s # Output:
1338s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1338s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1338s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1338s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1338s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1338s # [--output OUTPUT] [--version]
1338s # [args ...]
1338s #
1338s # positional arguments:
1338s # args One or more input files, or a single argument
1338s # @rspfile_path pointing to a file that contains the
1338s # actual arguments
1338s #
1338s # options:
1338s # -h, --help show this help message and exit
1338s # --identifier-prefix IDPREFIX
1338s # Identifier prefix
1338s # --symbol-prefix SYMPREFIX
1338s # Symbol prefix
1338s # --fhead FHEAD Output file header
1338s # --ftail FTAIL Output file footer
1338s # --fprod FPROD Put out TEXT every time a new input file is being
1338s # processed.
1338s # --eprod EPROD Per enum text, produced prior to value iterations
1338s # --vhead VHEAD Value header, produced before iterating over enum
1338s # values
1338s # --vprod VPROD Value text, produced for each enum value.
1338s # --vtail VTAIL Value tail, produced after iterating over enum values
1338s # --comments COMMENT_TMPL
1338s # Comment structure
1338s # --template TEMPLATE Template file
1338s # --output OUTPUT
1338s # --version, -v Print version information
1338s #
1338s # Production text substitutions:
1338s # @EnumName@ PrefixTheXEnum
1338s # @enum_name@ prefix_the_xenum
1338s # @ENUMNAME@ PREFIX_THE_XENUM
1338s # @ENUMSHORT@ THE_XENUM
1338s # @ENUMPREFIX@ PREFIX
1338s # @enumsince@ the user-provided since value given
1338s # @VALUENAME@ PREFIX_THE_XVALUE
1338s # @valuenick@ the-xvalue
1338s # @valuenum@ the integer value (limited support, Since: 2.26)
1338s # @type@ either enum or flags
1338s # @Type@ either Enum or Flags
1338s # @TYPE@ either ENUM or FLAGS
1338s # @filename@ name of current input file
1338s # @basename@ base name of the current input file (Since: 2.22)
1338s # Error:
1338s ok 12 __main__.TestMkenums.test_no_args
1338s # glib-mkenums: /usr/bin/glib-mkenums
1338s # tmpdir: /tmp/tmpl0210gda
1338s # rspfile: False
1338s # Running: ['/usr/bin/glib-mkenums']
1338s # Return code: 0
1338s # Output:
1338s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1338s #
1338s #
1338s # /* Generated data ends here */
1338s # Error:
1339s ok 13 __main__.TestMkenums.test_no_headers
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmp_b_wobm9
1339s # rspfile: False
1339s # /tmp/tmp_b_wobm9/tmpnnmj8cuk.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_b_wobm9/tmpnnmj8cuk.template']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 14 __main__.TestMkenums.test_no_nick
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpypbvqgyn
1339s # rspfile: False
1339s # /tmp/tmpypbvqgyn/tmp7vxlnpts.h:
1339s # typedef enum {
1339s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1339s # } GeglSamplerType;
1339s #
1339s # /tmp/tmpypbvqgyn/tmpu9_yaew8.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpypbvqgyn/tmpu9_yaew8.template', '/tmp/tmpypbvqgyn/tmp7vxlnpts.h']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpypbvqgyn/tmp7vxlnpts.h
1339s # basename: tmp7vxlnpts.h
1339s # enumeration-production
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: GEGL_SAMPLER_NEAREST
1339s # valuenick: nearest
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 15 __main__.TestMkenums.test_non_utf8_encoding
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmp76bxcgv3
1339s # rspfile: False
1339s # /tmp/tmp76bxcgv3/tmpd8519hyr.h:
1339s # /* Copyright © La Peña */
1339s # typedef enum {
1339s # ENUM_VALUE
1339s # } SomeEnumIdentifier;
1339s #
1339s # /tmp/tmp76bxcgv3/tmph3us04bc.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp76bxcgv3/tmph3us04bc.template', '/tmp/tmp76bxcgv3/tmpd8519hyr.h']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmp76bxcgv3/tmpd8519hyr.h
1339s # basename: tmpd8519hyr.h
1339s # enumeration-production
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE
1339s # valuenick: value
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1339s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1339s ok 16 __main__.TestMkenums.test_reproducible
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpka0ifl0s
1339s # rspfile: False
1339s # /tmp/tmpka0ifl0s/tmphddg4otr.template: template
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpka0ifl0s/tmphddg4otr.template', '/tmp/tmpka0ifl0s/tmpu5ro0qdu1.h', '/tmp/tmpka0ifl0s/tmpfvsx_vdz2.h']
1339s # Return code: 0
1339s # Output:
1339s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1339s #
1339s #
1339s # /* Generated data ends here */
1339s # Error:
1339s #
1339s # /tmp/tmpka0ifl0s/tmp1gaskw0s.template: template
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpka0ifl0s/tmp1gaskw0s.template', '/tmp/tmpka0ifl0s/tmpfvsx_vdz2.h', '/tmp/tmpka0ifl0s/tmpu5ro0qdu1.h']
1339s # Return code: 0
1339s # Output:
1339s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1339s #
1339s #
1339s # /* Generated data ends here */
1339s # Error:
1339s ok 17 __main__.TestMkenums.test_since
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpojwl9ck3
1339s # rspfile: False
1339s # /tmp/tmpojwl9ck3/tmpvkfsmdy3.h:
1339s # typedef enum { /*< since=1.0 >*/
1339s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1339s # } QmiWmsMessageProtocol;
1339s #
1339s # /tmp/tmpojwl9ck3/tmpwx6vp7ew.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpojwl9ck3/tmpwx6vp7ew.template', '/tmp/tmpojwl9ck3/tmpvkfsmdy3.h']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpojwl9ck3/tmpvkfsmdy3.h
1339s # basename: tmpvkfsmdy3.h
1339s # enumeration-production
1339s # EnumName: QmiWmsMessageProtocol
1339s # enum_name: qmi_wms_message_protocol
1339s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1339s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1339s # ENUMPREFIX: QMI
1339s # enumsince: 1.0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: QmiWmsMessageProtocol
1339s # enum_name: qmi_wms_message_protocol
1339s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1339s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1339s # ENUMPREFIX: QMI
1339s # enumsince: 1.0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1339s # valuenick: cdma
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: QmiWmsMessageProtocol
1339s # enum_name: qmi_wms_message_protocol
1339s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1339s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1339s # ENUMPREFIX: QMI
1339s # enumsince: 1.0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 18 __main__.TestMkenums.test_with_double_quotes
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpubu61dom
1339s # rspfile: False
1339s # /tmp/tmpubu61dom/tmpe52cwx8q.h:
1339s # typedef enum {
1339s # FOO_VALUE /*< nick="eek, a comma" >*/
1339s # } Foo;
1339s #
1339s # /tmp/tmpubu61dom/tmpjgzprobo.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpubu61dom/tmpjgzprobo.template', '/tmp/tmpubu61dom/tmpe52cwx8q.h']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpubu61dom/tmpe52cwx8q.h
1339s # basename: tmpe52cwx8q.h
1339s # enumeration-production
1339s # EnumName: Foo
1339s # enum_name: foo_
1339s # ENUMNAME: FOO_
1339s # ENUMSHORT:
1339s # ENUMPREFIX: FOO
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: Foo
1339s # enum_name: foo_
1339s # ENUMNAME: FOO_
1339s # ENUMSHORT:
1339s # ENUMPREFIX: FOO
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: FOO_VALUE
1339s # valuenick: eek, a comma
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: Foo
1339s # enum_name: foo_
1339s # ENUMNAME: FOO_
1339s # ENUMSHORT:
1339s # ENUMPREFIX: FOO
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 19 __main__.TestRspMkenums.test_available_in
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmp4dpfp9g2
1339s # rspfile: True
1339s # /tmp/tmp4dpfp9g2/tmprfcawl19.h:
1339s # typedef enum {
1339s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1339s # } GDBusServerFlags;
1339s #
1339s # /tmp/tmp4dpfp9g2/tmp8fopno5f.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmp4dpfp9g2/tmp8fopno5f.template /tmp/tmp4dpfp9g2/tmprfcawl19.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4dpfp9g2/tmpn96l6i6b']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmp4dpfp9g2/tmprfcawl19.h
1339s # basename: tmprfcawl19.h
1339s # enumeration-production
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-header
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-production
1339s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1339s # valuenick: user
1339s # valuenum: 4
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-tail
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpm8i1rrml
1339s # rspfile: True
1339s # /tmp/tmpm8i1rrml/tmp4yhe460e.h:
1339s # typedef enum {
1339s # ENUM_VALUE_WITH_COMMA = ',',
1339s # } TestCommaEnum;
1339s #
1339s # /tmp/tmpm8i1rrml/tmpzru2ismv.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpm8i1rrml/tmpzru2ismv.template /tmp/tmpm8i1rrml/tmp4yhe460e.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm8i1rrml/tmpgtmnsnuw']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpm8i1rrml/tmp4yhe460e.h
1339s # basename: tmp4yhe460e.h
1339s # enumeration-production
1339s # EnumName: TestCommaEnum
1339s # enum_name: test_comma_enum
1339s # ENUMNAME: TEST_COMMA_ENUM
1339s # ENUMSHORT: COMMA_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: TestCommaEnum
1339s # enum_name: test_comma_enum
1339s # ENUMNAME: TEST_COMMA_ENUM
1339s # ENUMSHORT: COMMA_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE_WITH_COMMA
1339s # valuenick: comma
1339s # valuenum: 44
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: TestCommaEnum
1339s # enum_name: test_comma_enum
1339s # ENUMNAME: TEST_COMMA_ENUM
1339s # ENUMSHORT: COMMA_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 21 __main__.TestRspMkenums.test_deprecated_in
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpm427u1hl
1339s # rspfile: True
1339s # /tmp/tmpm427u1hl/tmp59dxgjgn.h:
1339s # typedef enum {
1339s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1339s # } GDBusServerFlags;
1339s #
1339s # /tmp/tmpm427u1hl/tmpya8h068e.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpm427u1hl/tmpya8h068e.template /tmp/tmpm427u1hl/tmp59dxgjgn.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm427u1hl/tmpji2eo75q']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpm427u1hl/tmp59dxgjgn.h
1339s # basename: tmp59dxgjgn.h
1339s # enumeration-production
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-header
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-production
1339s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1339s # valuenick: user
1339s # valuenum: 4
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-tail
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpco7an78_
1339s # rspfile: True
1339s # /tmp/tmpco7an78_/tmpn1jy_v7w.h:
1339s # typedef enum {
1339s # 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)
1339s # } GDBusServerFlags;
1339s #
1339s # /tmp/tmpco7an78_/tmp6yurqfyr.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpco7an78_/tmp6yurqfyr.template /tmp/tmpco7an78_/tmpn1jy_v7w.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpco7an78_/tmp47prcq4u']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpco7an78_/tmpn1jy_v7w.h
1339s # basename: tmpn1jy_v7w.h
1339s # enumeration-production
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-header
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-production
1339s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1339s # valuenick: user
1339s # valuenum: 4
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # value-tail
1339s # EnumName: GDBusServerFlags
1339s # enum_name: g_dbus_server_flags
1339s # ENUMNAME: G_DBUS_SERVER_FLAGS
1339s # ENUMSHORT: DBUS_SERVER_FLAGS
1339s # ENUMPREFIX: G
1339s # enumsince:
1339s # type: flags
1339s # Type: Flags
1339s # TYPE: FLAGS
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 23 __main__.TestRspMkenums.test_empty_header
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpizh0apu7
1339s # rspfile: True
1339s # /tmp/tmpizh0apu7/tmpuduh1imv.h:
1339s # /tmp/tmpizh0apu7/tmplmb0_ok8.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpizh0apu7/tmplmb0_ok8.template /tmp/tmpizh0apu7/tmpuduh1imv.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpizh0apu7/tmppe__p8bx']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 24 __main__.TestRspMkenums.test_empty_template
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpdezxuf79
1339s # rspfile: True
1339s # /tmp/tmpdezxuf79/tmpaycvcgcl.template:
1339s # Response file contains: --template /tmp/tmpdezxuf79/tmpaycvcgcl.template
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdezxuf79/tmp_dl4ybbd']
1339s # Return code: 0
1339s # Output:
1339s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1339s #
1339s #
1339s # /* Generated data ends here */
1339s # Error:
1339s ok 25 __main__.TestRspMkenums.test_enum_name
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpufxcyqhz
1339s # rspfile: True
1339s # /tmp/tmpufxcyqhz/tmp252_teqj.h:
1339s # typedef enum _SomeEnumIdentifier {
1339s # ENUM_VALUE
1339s # } SomeEnumIdentifier;
1339s #
1339s # /tmp/tmpufxcyqhz/tmp3d0edqgw.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpufxcyqhz/tmp3d0edqgw.template /tmp/tmpufxcyqhz/tmp252_teqj.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpufxcyqhz/tmpdl9uzarn']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpufxcyqhz/tmp252_teqj.h
1339s # basename: tmp252_teqj.h
1339s # enumeration-production
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE
1339s # valuenick: value
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 26 __main__.TestRspMkenums.test_enum_private_public
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpf1yxfo3t
1339s # rspfile: True
1339s # /tmp/tmpf1yxfo3t/tmpe3w9288a.h:
1339s # typedef enum {
1339s # ENUM_VALUE_PUBLIC1,
1339s # /*< private >*/
1339s # ENUM_VALUE_PRIVATE,
1339s # } SomeEnumA
1339s #
1339s # /tmp/tmpf1yxfo3t/tmpcywyebn8.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpf1yxfo3t/tmpcywyebn8.template /tmp/tmpf1yxfo3t/tmpe3w9288a.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf1yxfo3t/tmpw7lcwwr2']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpf1yxfo3t/tmpe3w9288a.h
1339s # basename: tmpe3w9288a.h
1339s # enumeration-production
1339s # EnumName: SomeEnumA
1339s # enum_name: some_enum_a
1339s # ENUMNAME: SOME_ENUM_A
1339s # ENUMSHORT: ENUM_A
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: SomeEnumA
1339s # enum_name: some_enum_a
1339s # ENUMNAME: SOME_ENUM_A
1339s # ENUMSHORT: ENUM_A
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE_PUBLIC1
1339s # valuenick: public1
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: SomeEnumA
1339s # enum_name: some_enum_a
1339s # ENUMNAME: SOME_ENUM_A
1339s # ENUMSHORT: ENUM_A
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s #
1339s # /tmp/tmpf1yxfo3t/tmp0c4og0rw.h:
1339s # typedef enum {
1339s # /*< private >*/
1339s # ENUM_VALUE_PRIVATE,
1339s # /*< public >*/
1339s # ENUM_VALUE_PUBLIC2,
1339s # } SomeEnumB;
1339s #
1339s # /tmp/tmpf1yxfo3t/tmpkkxp6e4l.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpf1yxfo3t/tmpkkxp6e4l.template /tmp/tmpf1yxfo3t/tmp0c4og0rw.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf1yxfo3t/tmp5ftsj3f4']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpf1yxfo3t/tmp0c4og0rw.h
1339s # basename: tmp0c4og0rw.h
1339s # enumeration-production
1339s # EnumName: SomeEnumB
1339s # enum_name: some_enum_b
1339s # ENUMNAME: SOME_ENUM_B
1339s # ENUMSHORT: ENUM_B
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: SomeEnumB
1339s # enum_name: some_enum_b
1339s # ENUMNAME: SOME_ENUM_B
1339s # ENUMSHORT: ENUM_B
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE_PUBLIC2
1339s # valuenick: public2
1339s # valuenum: 1
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: SomeEnumB
1339s # enum_name: some_enum_b
1339s # ENUMNAME: SOME_ENUM_B
1339s # ENUMSHORT: ENUM_B
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpm3tam41q
1339s # rspfile: True
1339s # /tmp/tmpm3tam41q/tmp3808n08h.h:
1339s # typedef enum {
1339s # /*< private >*/
1339s # ENUM_VALUE_PRIVATE = 5,
1339s # /*< public >*/
1339s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1339s # } TestSymbolicEnum;
1339s #
1339s # /tmp/tmpm3tam41q/tmp0v055s6n.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpm3tam41q/tmp0v055s6n.template /tmp/tmpm3tam41q/tmp3808n08h.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm3tam41q/tmpg_hegdt_']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpm3tam41q/tmp3808n08h.h
1339s # basename: tmp3808n08h.h
1339s # enumeration-production
1339s # EnumName: TestSymbolicEnum
1339s # enum_name: test_symbolic_enum
1339s # ENUMNAME: TEST_SYMBOLIC_ENUM
1339s # ENUMSHORT: SYMBOLIC_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: TestSymbolicEnum
1339s # enum_name: test_symbolic_enum
1339s # ENUMNAME: TEST_SYMBOLIC_ENUM
1339s # ENUMSHORT: SYMBOLIC_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE_PUBLIC
1339s # valuenick: public
1339s # valuenum: 7
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: TestSymbolicEnum
1339s # enum_name: test_symbolic_enum
1339s # ENUMNAME: TEST_SYMBOLIC_ENUM
1339s # ENUMSHORT: SYMBOLIC_ENUM
1339s # ENUMPREFIX: TEST
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpv3jm1600
1339s # rspfile: True
1339s # /tmp/tmpv3jm1600/tmpbbsocb7r.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-tail ***/
1339s # Response file contains: --template /tmp/tmpv3jm1600/tmpbbsocb7r.template
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv3jm1600/tmp5jzc755z']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # filename: @filename@
1339s # basename: @basename@
1339s # file-tail
1339s # filename: @filename@
1339s # basename: @basename@
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s # WARNING: @filename@ used in file-header section.
1339s # WARNING: @basename@ used in file-header section.
1339s # WARNING: @filename@ used in file-tail section.
1339s # WARNING: @basename@ used in file-tail section.
1339s ok 29 __main__.TestRspMkenums.test_help
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmphnjjsuvh
1339s # rspfile: True
1339s # Response file contains: --help
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphnjjsuvh/tmp87fd72ds']
1339s # Return code: 0
1339s # Output:
1339s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1339s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1339s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1339s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1339s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1339s # [--output OUTPUT] [--version]
1339s # [args ...]
1339s #
1339s # positional arguments:
1339s # args One or more input files, or a single argument
1339s # @rspfile_path pointing to a file that contains the
1339s # actual arguments
1339s #
1339s # options:
1339s # -h, --help show this help message and exit
1339s # --identifier-prefix IDPREFIX
1339s # Identifier prefix
1339s # --symbol-prefix SYMPREFIX
1339s # Symbol prefix
1339s # --fhead FHEAD Output file header
1339s # --ftail FTAIL Output file footer
1339s # --fprod FPROD Put out TEXT every time a new input file is being
1339s # processed.
1339s # --eprod EPROD Per enum text, produced prior to value iterations
1339s # --vhead VHEAD Value header, produced before iterating over enum
1339s # values
1339s # --vprod VPROD Value text, produced for each enum value.
1339s # --vtail VTAIL Value tail, produced after iterating over enum values
1339s # --comments COMMENT_TMPL
1339s # Comment structure
1339s # --template TEMPLATE Template file
1339s # --output OUTPUT
1339s # --version, -v Print version information
1339s #
1339s # Production text substitutions:
1339s # @EnumName@ PrefixTheXEnum
1339s # @enum_name@ prefix_the_xenum
1339s # @ENUMNAME@ PREFIX_THE_XENUM
1339s # @ENUMSHORT@ THE_XENUM
1339s # @ENUMPREFIX@ PREFIX
1339s # @enumsince@ the user-provided since value given
1339s # @VALUENAME@ PREFIX_THE_XVALUE
1339s # @valuenick@ the-xvalue
1339s # @valuenum@ the integer value (limited support, Since: 2.26)
1339s # @type@ either enum or flags
1339s # @Type@ either Enum or Flags
1339s # @TYPE@ either ENUM or FLAGS
1339s # @filename@ name of current input file
1339s # @basename@ base name of the current input file (Since: 2.22)
1339s # Error:
1339s ok 30 __main__.TestRspMkenums.test_no_args
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmp_koxx4cq
1339s # rspfile: True
1339s # Response file contains:
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_koxx4cq/tmp5scukkuw']
1339s # Return code: 0
1339s # Output:
1339s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1339s #
1339s #
1339s # /* Generated data ends here */
1339s # Error:
1339s ok 31 __main__.TestRspMkenums.test_no_headers
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmphzvoqxte
1339s # rspfile: True
1339s # /tmp/tmphzvoqxte/tmpy8m45fd_.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmphzvoqxte/tmpy8m45fd_.template
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphzvoqxte/tmpt3xij7vu']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 32 __main__.TestRspMkenums.test_no_nick
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmp0qxgip3d
1339s # rspfile: True
1339s # /tmp/tmp0qxgip3d/tmpawrs2uua.h:
1339s # typedef enum {
1339s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1339s # } GeglSamplerType;
1339s #
1339s # /tmp/tmp0qxgip3d/tmpsuvvrnki.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmp0qxgip3d/tmpsuvvrnki.template /tmp/tmp0qxgip3d/tmpawrs2uua.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0qxgip3d/tmpx01jbuek']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmp0qxgip3d/tmpawrs2uua.h
1339s # basename: tmpawrs2uua.h
1339s # enumeration-production
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: GEGL_SAMPLER_NEAREST
1339s # valuenick: nearest
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: GeglSamplerType
1339s # enum_name: gegl_sampler_type
1339s # ENUMNAME: GEGL_SAMPLER_TYPE
1339s # ENUMSHORT: SAMPLER_TYPE
1339s # ENUMPREFIX: GEGL
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
1339s # glib-mkenums: /usr/bin/glib-mkenums
1339s # tmpdir: /tmp/tmpnittwf8u
1339s # rspfile: True
1339s # /tmp/tmpnittwf8u/tmp0fkwcj31.h:
1339s # /* Copyright © La Peña */
1339s # typedef enum {
1339s # ENUM_VALUE
1339s # } SomeEnumIdentifier;
1339s #
1339s # /tmp/tmpnittwf8u/tmp8wzgvwj3.template:
1339s # /*** BEGIN file-header ***/
1339s # file-header
1339s # /*** END file-header ***/
1339s #
1339s # /*** BEGIN file-production ***/
1339s # file-production
1339s # filename: @filename@
1339s # basename: @basename@
1339s # /*** END file-production ***/
1339s #
1339s # /*** BEGIN enumeration-production ***/
1339s # enumeration-production
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END enumeration-production ***/
1339s #
1339s # /*** BEGIN value-header ***/
1339s # value-header
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-header ***/
1339s #
1339s # /*** BEGIN value-production ***/
1339s # value-production
1339s # VALUENAME: @VALUENAME@
1339s # valuenick: @valuenick@
1339s # valuenum: @valuenum@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-production ***/
1339s #
1339s # /*** BEGIN value-tail ***/
1339s # value-tail
1339s # EnumName: @EnumName@
1339s # enum_name: @enum_name@
1339s # ENUMNAME: @ENUMNAME@
1339s # ENUMSHORT: @ENUMSHORT@
1339s # ENUMPREFIX: @ENUMPREFIX@
1339s # enumsince: @enumsince@
1339s # type: @type@
1339s # Type: @Type@
1339s # TYPE: @TYPE@
1339s # /*** END value-tail ***/
1339s #
1339s # /*** BEGIN comment ***/
1339s # comment
1339s # comment: @comment@
1339s # /*** END comment ***/
1339s #
1339s # /*** BEGIN file-tail ***/
1339s # file-tail
1339s # /*** END file-tail ***/
1339s #
1339s # Response file contains: --template /tmp/tmpnittwf8u/tmp8wzgvwj3.template /tmp/tmpnittwf8u/tmp0fkwcj31.h
1339s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnittwf8u/tmp6l6pl3gb']
1339s # Return code: 0
1339s # Output:
1339s # comment
1339s # 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.
1339s #
1339s #
1339s # file-header
1339s # file-production
1339s # filename: /tmp/tmpnittwf8u/tmp0fkwcj31.h
1339s # basename: tmp0fkwcj31.h
1339s # enumeration-production
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-header
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-production
1339s # VALUENAME: ENUM_VALUE
1339s # valuenick: value
1339s # valuenum: 0
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # value-tail
1339s # EnumName: SomeEnumIdentifier
1339s # enum_name: some_enum_identifier
1339s # ENUMNAME: SOME_ENUM_IDENTIFIER
1339s # ENUMSHORT: ENUM_IDENTIFIER
1339s # ENUMPREFIX: SOME
1339s # enumsince:
1339s # type: enum
1339s # Type: Enum
1339s # TYPE: ENUM
1339s # file-tail
1339s #
1339s # comment
1339s # comment: Generated data ends here
1339s # Error:
1339s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1339s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1340s ok 34 __main__.TestRspMkenums.test_reproducible
1340s # glib-mkenums: /usr/bin/glib-mkenums
1340s # tmpdir: /tmp/tmp9p85d28n
1340s # rspfile: True
1340s # /tmp/tmp9p85d28n/tmp628uapyv.template: template
1340s # Response file contains: --template /tmp/tmp9p85d28n/tmp628uapyv.template /tmp/tmp9p85d28n/tmp7nfsyh461.h /tmp/tmp9p85d28n/tmpe3be5lx12.h
1340s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9p85d28n/tmpfbmpk2r5']
1340s # Return code: 0
1340s # Output:
1340s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1340s #
1340s #
1340s # /* Generated data ends here */
1340s # Error:
1340s #
1340s # /tmp/tmp9p85d28n/tmpwo1m_iky.template: template
1340s # Response file contains: --template /tmp/tmp9p85d28n/tmpwo1m_iky.template /tmp/tmp9p85d28n/tmpe3be5lx12.h /tmp/tmp9p85d28n/tmp7nfsyh461.h
1340s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9p85d28n/tmp_of4ezws']
1340s # Return code: 0
1340s # Output:
1340s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
1340s #
1340s #
1340s # /* Generated data ends here */
1340s # Error:
1340s ok 35 __main__.TestRspMkenums.test_since
1340s # glib-mkenums: /usr/bin/glib-mkenums
1340s # tmpdir: /tmp/tmpafro__5h
1340s # rspfile: True
1340s # /tmp/tmpafro__5h/tmpxh8sr7eg.h:
1340s # typedef enum { /*< since=1.0 >*/
1340s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1340s # } QmiWmsMessageProtocol;
1340s #
1340s # /tmp/tmpafro__5h/tmp2_o0j126.template:
1340s # /*** BEGIN file-header ***/
1340s # file-header
1340s # /*** END file-header ***/
1340s #
1340s # /*** BEGIN file-production ***/
1340s # file-production
1340s # filename: @filename@
1340s # basename: @basename@
1340s # /*** END file-production ***/
1340s #
1340s # /*** BEGIN enumeration-production ***/
1340s # enumeration-production
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END enumeration-production ***/
1340s #
1340s # /*** BEGIN value-header ***/
1340s # value-header
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-header ***/
1340s #
1340s # /*** BEGIN value-production ***/
1340s # value-production
1340s # VALUENAME: @VALUENAME@
1340s # valuenick: @valuenick@
1340s # valuenum: @valuenum@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-production ***/
1340s #
1340s # /*** BEGIN value-tail ***/
1340s # value-tail
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-tail ***/
1340s #
1340s # /*** BEGIN comment ***/
1340s # comment
1340s # comment: @comment@
1340s # /*** END comment ***/
1340s #
1340s # /*** BEGIN file-tail ***/
1340s # file-tail
1340s # /*** END file-tail ***/
1340s #
1340s # Response file contains: --template /tmp/tmpafro__5h/tmp2_o0j126.template /tmp/tmpafro__5h/tmpxh8sr7eg.h
1340s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpafro__5h/tmptcuzpm34']
1340s # Return code: 0
1340s # Output:
1340s # comment
1340s # 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.
1340s #
1340s #
1340s # file-header
1340s # file-production
1340s # filename: /tmp/tmpafro__5h/tmpxh8sr7eg.h
1340s # basename: tmpxh8sr7eg.h
1340s # enumeration-production
1340s # EnumName: QmiWmsMessageProtocol
1340s # enum_name: qmi_wms_message_protocol
1340s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1340s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1340s # ENUMPREFIX: QMI
1340s # enumsince: 1.0
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-header
1340s # EnumName: QmiWmsMessageProtocol
1340s # enum_name: qmi_wms_message_protocol
1340s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1340s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1340s # ENUMPREFIX: QMI
1340s # enumsince: 1.0
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-production
1340s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1340s # valuenick: cdma
1340s # valuenum: 0
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-tail
1340s # EnumName: QmiWmsMessageProtocol
1340s # enum_name: qmi_wms_message_protocol
1340s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1340s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1340s # ENUMPREFIX: QMI
1340s # enumsince: 1.0
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # file-tail
1340s #
1340s # comment
1340s # comment: Generated data ends here
1340s # Error:
1340s ok 36 __main__.TestRspMkenums.test_with_double_quotes
1340s # glib-mkenums: /usr/bin/glib-mkenums
1340s # tmpdir: /tmp/tmp777wd5li
1340s # rspfile: True
1340s # /tmp/tmp777wd5li/tmp1b44kv5c.h:
1340s # typedef enum {
1340s # FOO_VALUE /*< nick="eek, a comma" >*/
1340s # } Foo;
1340s #
1340s # /tmp/tmp777wd5li/tmp2xw9vlhr.template:
1340s # /*** BEGIN file-header ***/
1340s # file-header
1340s # /*** END file-header ***/
1340s #
1340s # /*** BEGIN file-production ***/
1340s # file-production
1340s # filename: @filename@
1340s # basename: @basename@
1340s # /*** END file-production ***/
1340s #
1340s # /*** BEGIN enumeration-production ***/
1340s # enumeration-production
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END enumeration-production ***/
1340s #
1340s # /*** BEGIN value-header ***/
1340s # value-header
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-header ***/
1340s #
1340s # /*** BEGIN value-production ***/
1340s # value-production
1340s # VALUENAME: @VALUENAME@
1340s # valuenick: @valuenick@
1340s # valuenum: @valuenum@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-production ***/
1340s #
1340s # /*** BEGIN value-tail ***/
1340s # value-tail
1340s # EnumName: @EnumName@
1340s # enum_name: @enum_name@
1340s # ENUMNAME: @ENUMNAME@
1340s # ENUMSHORT: @ENUMSHORT@
1340s # ENUMPREFIX: @ENUMPREFIX@
1340s # enumsince: @enumsince@
1340s # type: @type@
1340s # Type: @Type@
1340s # TYPE: @TYPE@
1340s # /*** END value-tail ***/
1340s #
1340s # /*** BEGIN comment ***/
1340s # comment
1340s # comment: @comment@
1340s # /*** END comment ***/
1340s #
1340s # /*** BEGIN file-tail ***/
1340s # file-tail
1340s # /*** END file-tail ***/
1340s #
1340s # Response file contains: --template /tmp/tmp777wd5li/tmp2xw9vlhr.template /tmp/tmp777wd5li/tmp1b44kv5c.h
1340s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp777wd5li/tmp28lnbx02']
1340s # Return code: 0
1340s # Output:
1340s # comment
1340s # 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.
1340s #
1340s #
1340s # file-header
1340s # file-production
1340s # filename: /tmp/tmp777wd5li/tmp1b44kv5c.h
1340s # basename: tmp1b44kv5c.h
1340s # enumeration-production
1340s # EnumName: Foo
1340s # enum_name: foo_
1340s # ENUMNAME: FOO_
1340s # ENUMSHORT:
1340s # ENUMPREFIX: FOO
1340s # enumsince:
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-header
1340s # EnumName: Foo
1340s # enum_name: foo_
1340s # ENUMNAME: FOO_
1340s # ENUMSHORT:
1340s # ENUMPREFIX: FOO
1340s # enumsince:
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-production
1340s # VALUENAME: FOO_VALUE
1340s # valuenick: eek, a comma
1340s # valuenum: 0
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # value-tail
1340s # EnumName: Foo
1340s # enum_name: foo_
1340s # ENUMNAME: FOO_
1340s # ENUMSHORT:
1340s # ENUMPREFIX: FOO
1340s # enumsince:
1340s # type: enum
1340s # Type: Enum
1340s # TYPE: ENUM
1340s # file-tail
1340s #
1340s # comment
1340s # comment: Generated data ends here
1340s # Error:
1340s 1..36
1340s ok - glib/mkenums.py.test
1340s # Running test: glib/converter.test
1340s TAP version 14
1340s # random seed: R02Sd51cae7b813d84e184a7ae8a079c91a4
1340s 1..2
1340s # Start of converter tests
1340s ok 1 /converter/bytes
1340s ok 2 /converter/extra-bytes-at-end
1340s # End of converter tests
1340s ok - glib/converter.test
1340s # Running test: glib/registered-type-info.test
1340s TAP version 14
1340s # random seed: R02S97bc51bbb7ea6de80a579f74d241bdab
1340s 1..1
1340s # Start of registered-type-info tests
1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/home
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/cache
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/system-config2
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/config
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/system-data2
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/data
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/state
1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_3WXB22/registered-type-info/boxed/.dirs/runtime
1340s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1340s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
1340s # Expecting CClosure to not be boxed
1340s # Expecting TypeCValue to not be boxed
1340s # Expecting InitiallyUnownedClass to not be boxed
1340s # Expecting BookmarkFile to be boxed
1340s # Expecting Closure to be boxed
1340s # Expecting Object to not be boxed
1340s ok 1 /registered-type-info/boxed
1340s # End of registered-type-info tests
1340s ok - glib/registered-type-info.test
1340s # Running test: glib/test-printf.test
1340s TAP version 14
1340s # random seed: R02S5b757f9428b649eda3b1651499cbf874
1340s 1..22
1340s # Start of snprintf tests
1340s ok 1 /snprintf/retval-and-trunc
1340s ok 2 /snprintf/%d
1340s ok 3 /snprintf/%d-invalid
1340s ok 4 /snprintf/%o
1340s ok 5 /snprintf/%u
1340s ok 6 /snprintf/%x
1340s ok 7 /snprintf/%X
1340s ok 8 /snprintf/%f
1340s ok 9 /snprintf/%e
1340s ok 10 /snprintf/%c
1340s ok 11 /snprintf/%s
1340s ok 12 /snprintf/%n
1340s ok 13 /snprintf/test-percent
1340s ok 14 /snprintf/test-positional-params
1340s ok 15 /snprintf/test-64bit
1340s # End of snprintf tests
1340s # Start of printf tests
1340s ok 16 /printf/test-percent
1340s ok 17 /printf/test-positional-params
1340s ok 18 /printf/test-64bit
1340s # Start of test-64bit tests
1340s # Start of subprocess tests
1340s # End of subprocess tests
1340s # End of test-64bit tests
1340s # End of printf tests
1340s # Start of sprintf tests
1340s ok 19 /sprintf/test-positional-params
1340s ok 20 /sprintf/upper-bound
1340s # End of sprintf tests
1340s # Start of vasprintf tests
1340s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
1340s ok 21 /vasprintf/invalid-format-placeholder
1340s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
1340s ok 22 /vasprintf/invalid-wide-string
1340s # End of vasprintf tests
1340s ok - glib/test-printf.test
1340s # Running test: glib/mappedfile.test
1340s TAP version 14
1340s # random seed: R02S2ee5dd06852915b74d3ab1a0d2e94890
1340s 1..7
1340s # Start of mappedfile tests
1340s ok 1 /mappedfile/basic
1340s ok 2 /mappedfile/empty
1340s ok 3 /mappedfile/device
1340s ok 4 /mappedfile/nonexisting
1340s ok 5 /mappedfile/writable
1340s ok 6 /mappedfile/writable_fd
1340s ok 7 /mappedfile/gbytes
1340s # End of mappedfile tests
1340s ok - glib/mappedfile.test
1340s # Running test: glib/resources.test
1340s TAP version 14
1340s # random seed: R02Se40de9d914f46c43136f0459f4513e4c
1340s 1..19
1340s # Start of resource tests
1340s ok 1 /resource/file
1340s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1340s ok 2 /resource/file-path
1340s ok 3 /resource/data
1340s ok 4 /resource/data_unaligned
1340s ok 5 /resource/data-corrupt
1340s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression).
1340s ok 6 /resource/data-corrupt-compression
1340s ok 7 /resource/data-empty
1340s ok 8 /resource/registered
1340s ok 9 /resource/manual
1340s ok 10 /resource/manual2
1340s ok 11 /resource/automatic
1340s ok 12 /resource/module
1340s ok 13 /resource/binary-linked
1340s ok 14 /resource/64k
1340s GLib-GIO-Message: 05:40:10.147: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
1340s GLib-GIO-Message: 05:40:10.147: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
1340s GLib-GIO-Message: 05:40:10.147: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
1340s ok 15 /resource/overlay
1340s ok 16 /resource/digits
1340s ok 17 /resource/has-children
1340s # Start of uri tests
1340s ok 18 /resource/uri/query-info
1340s ok 19 /resource/uri/file
1340s # End of uri tests
1340s # End of resource tests
1340s ok - glib/resources.test
1340s # Running test: glib/properties-refcount3.test
1340s TAP version 14
1340s # random seed: R02S78e891e1ffa71f5036ae37be8b8ba5e0
1340s 1..1
1340s # Start of gobject tests
1340s # Start of refcount tests
1343s # Executing: glib/properties-refcount3.test
1348s # Executing: glib/properties-refcount3.test
1353s # Executing: glib/properties-refcount3.test
1358s # Executing: glib/properties-refcount3.test
1363s # Executing: glib/properties-refcount3.test
1368s # Executing: glib/properties-refcount3.test
1370s #
1370s # stopping
1370s #
1370s # stopped
1370s #
1370s # 11804803 629793
1370s #
1370s ok 1 /gobject/refcount/properties-3
1370s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
1370s # End of refcount tests
1370s # End of gobject tests
1370s ok - glib/properties-refcount3.test
1370s # Running test: glib/deftype.test
1370s ok - glib/deftype.test
1370s # Running test: glib/basics-gobject.test
1370s TAP version 14
1370s # random seed: R02Sb700dcc6bdc11aeaaee019fc70c4c08c
1370s 1..1
1370s # Start of gobject tests
1370s # private data during initialization: 54321 == 54321
1370s # MAIN: emit test-signal:
1370s # ::test_signal default_handler called
1370s # ::test_signal default_handler called
1370s # ::test_signal default_handler called
1370s # signal return: ""
1370s # MAIN: call iface print-string on test and derived object:
1370s # Iface-FOO: "iface-string-from-test-type" from 0x148ca17ff470
1370s # Iface-BAR: "iface-string-from-derived-type" from 0x148ca17ff390
1370s # chaining:
1370s # Iface-FOO: "iface-string-from-derived-type" from 0x148ca17ff390
1370s # private data after initialization: 54321 == 54321
1370s ok 1 /gobject/basics
1370s # End of gobject tests
1370s ok - glib/basics-gobject.test
1370s # Running test: glib/memchunk.test
1370s TAP version 14
1370s # random seed: R02S081f0f0750194da73be725aac29a1469
1370s 1..1
1370s # Start of memchunk tests
1370s ok 1 /memchunk/basic
1370s # End of memchunk tests
1370s ok - glib/memchunk.test
1370s # Running test: glib/portal-support-flatpak-full.test
1370s TAP version 14
1370s # random seed: R02S098767df21bfd5e8dd22bb96d94a6e9a
1370s 1..1
1370s # Start of portal-support tests
1370s # Start of flatpak tests
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/runtime
1370s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_CIIG22/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
1370s ok 1 /portal-support/flatpak/full
1370s # End of flatpak tests
1370s # End of portal-support tests
1370s ok - glib/portal-support-flatpak-full.test
1370s # Running test: glib/file.test
1370s TAP version 14
1370s # random seed: R02S8eeb3956e3b2d0025e3fbe6f507efbf1
1370s 1..55
1370s # Start of file tests
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/basic/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/basic/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/basic/.dirs/system-config1:/tmp/test_file_BL9F22/file/basic/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/basic/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/basic/.dirs/system-data1:/tmp/test_file_BL9F22/file/basic/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/basic/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/basic/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/basic/.dirs/runtime
1370s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1370s ok 1 /file/basic
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/build-filename/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/build-filename/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/build-filename/.dirs/system-config1:/tmp/test_file_BL9F22/file/build-filename/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/build-filename/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/build-filename/.dirs/system-data1:/tmp/test_file_BL9F22/file/build-filename/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/build-filename/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/build-filename/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/build-filename/.dirs/runtime
1370s ok 2 /file/build-filename
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/system-config1:/tmp/test_file_BL9F22/file/build-filenamev/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/system-data1:/tmp/test_file_BL9F22/file/build-filenamev/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/build-filenamev/.dirs/runtime
1370s ok 3 /file/build-filenamev
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/parent/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/parent/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/parent/.dirs/system-config1:/tmp/test_file_BL9F22/file/parent/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/parent/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/parent/.dirs/system-data1:/tmp/test_file_BL9F22/file/parent/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/parent/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/parent/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/parent/.dirs/runtime
1370s ok 4 /file/parent
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/child/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/child/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/child/.dirs/system-config1:/tmp/test_file_BL9F22/file/child/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/child/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/child/.dirs/system-data1:/tmp/test_file_BL9F22/file/child/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/child/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/child/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/child/.dirs/runtime
1370s ok 5 /file/child
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/empty-path/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/empty-path/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/empty-path/.dirs/system-config1:/tmp/test_file_BL9F22/file/empty-path/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/empty-path/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/empty-path/.dirs/system-data1:/tmp/test_file_BL9F22/file/empty-path/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/empty-path/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/empty-path/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/empty-path/.dirs/runtime
1370s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328
1370s # /file/empty-path summary: Check that creating a file with an empty path results in errors
1370s ok 6 /file/empty-path
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/type/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/type/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/type/.dirs/system-config1:/tmp/test_file_BL9F22/file/type/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/type/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/type/.dirs/system-data1:/tmp/test_file_BL9F22/file/type/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/type/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/type/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/type/.dirs/runtime
1370s ok 7 /file/type
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/parse-name/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/parse-name/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/parse-name/.dirs/system-config1:/tmp/test_file_BL9F22/file/parse-name/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/parse-name/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/parse-name/.dirs/system-data1:/tmp/test_file_BL9F22/file/parse-name/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/parse-name/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/parse-name/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/parse-name/.dirs/runtime
1370s ok 8 /file/parse-name
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace-load/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace-load/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace-load/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace-load/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace-load/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace-load/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace-load/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace-load/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace-load/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace-load/.dirs/runtime
1370s ok 9 /file/replace-load
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace-cancel/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace-cancel/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace-cancel/.dirs/runtime
1370s # Bug Reference: https://bugzilla.gnome.org/629301
1370s ok 10 /file/replace-cancel
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace-symlink/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace-symlink/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace-symlink/.dirs/runtime
1370s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325
1370s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks
1370s # Using temporary directory /tmp/test_file_BL9F22/g_file_replace_symlink_MNVF22
1370s ok 11 /file/replace-symlink
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-new-tmp/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-new-tmp/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-new-tmp/.dirs/runtime
1370s ok 12 /file/async-new-tmp
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-new-tmp-dir/.dirs/runtime
1370s ok 13 /file/async-new-tmp-dir
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-delete/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-delete/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-delete/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-delete/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-delete/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-delete/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-delete/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-delete/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-delete/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-delete/.dirs/runtime
1370s ok 14 /file/async-delete
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-make-symlink/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-make-symlink/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-make-symlink/.dirs/runtime
1370s ok 15 /file/async-make-symlink
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/copy-preserve-mode/.dirs/runtime
1370s # Current umask: 2
1370s # Vector 0
1370s # Vector 1
1370s # Vector 2
1370s # Vector 3
1370s # Vector 4
1370s # Vector 5
1370s # Vector 6
1370s # Vector 7
1370s # Vector 8
1370s # Vector 9
1370s # Vector 10
1370s ok 16 /file/copy-preserve-mode
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/copy-async-with-closures/.dirs/runtime
1370s ok 17 /file/copy-async-with-closures
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/measure/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/measure/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/measure/.dirs/system-config1:/tmp/test_file_BL9F22/file/measure/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/measure/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/measure/.dirs/system-data1:/tmp/test_file_BL9F22/file/measure/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/measure/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/measure/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/measure/.dirs/runtime
1370s ok 18 /file/measure
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/measure-async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/measure-async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/measure-async/.dirs/system-config1:/tmp/test_file_BL9F22/file/measure-async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/measure-async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/measure-async/.dirs/system-data1:/tmp/test_file_BL9F22/file/measure-async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/measure-async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/measure-async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/measure-async/.dirs/runtime
1370s ok 19 /file/measure-async
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/load-bytes/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/load-bytes/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/load-bytes/.dirs/system-config1:/tmp/test_file_BL9F22/file/load-bytes/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/load-bytes/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/load-bytes/.dirs/system-data1:/tmp/test_file_BL9F22/file/load-bytes/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/load-bytes/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/load-bytes/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/load-bytes/.dirs/runtime
1370s ok 20 /file/load-bytes
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_BL9F22/file/load-bytes-async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_BL9F22/file/load-bytes-async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/load-bytes-async/.dirs/runtime
1370s ok 21 /file/load-bytes-async
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/load-bytes-4gb/.dirs/runtime
1370s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/load-contents-4gb/.dirs/runtime
1370s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/load-contents-4gb-async/.dirs/runtime
1370s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/.dirs/runtime
1370s ok 25 /file/writev
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/build-attribute-list-for-copy/.dirs/runtime
1370s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
1370s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
1370s # 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::*
1370s # 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::*
1370s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
1370s # Attributes for copy: standard::size,xattr::*
1370s # Attributes for copy: standard::size,unix::mode,xattr::*
1370s ok 26 /file/build-attribute-list-for-copy
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/move_async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/move_async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/move_async/.dirs/system-config1:/tmp/test_file_BL9F22/file/move_async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/move_async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/move_async/.dirs/system-data1:/tmp/test_file_BL9F22/file/move_async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/move_async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/move_async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/move_async/.dirs/runtime
1370s ok 27 /file/move_async
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/move-async-with-closures/.dirs/runtime
1370s ok 28 /file/move-async-with-closures
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/query-zero-length-content-type/.dirs/runtime
1370s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
1370s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
1370s ok 29 /file/query-zero-length-content-type
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/runtime
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/data/applications
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/config
1370s ok 30 /file/query-default-handler-file
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/runtime
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/data/applications
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config
1370s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BL9F22/file/query-default-handler-file/.dirs/config to /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config
1370s ok 31 /file/query-default-handler-file-async
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/runtime
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/data/applications
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config
1370s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BL9F22/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config
1370s ok 32 /file/query-default-handler-uri
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/runtime
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/data/applications
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/config
1370s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BL9F22/file/query-default-handler-uri/.dirs/config to /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/config
1370s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BL9F22/file/query-default-handler-uri-async/.dirs/config
1370s ok 33 /file/query-default-handler-uri-async
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/enumerator-cancellation/.dirs/runtime
1370s ok 34 /file/enumerator-cancellation
1370s # Start of async-create-delete tests
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-create-delete/0/.dirs/runtime
1370s ok 35 /file/async-create-delete/0
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-create-delete/1/.dirs/runtime
1370s ok 36 /file/async-create-delete/1
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-create-delete/10/.dirs/runtime
1370s ok 37 /file/async-create-delete/10
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-create-delete/25/.dirs/runtime
1370s ok 38 /file/async-create-delete/25
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/async-create-delete/4096/.dirs/runtime
1370s ok 39 /file/async-create-delete/4096
1370s # End of async-create-delete tests
1370s # Start of replace-symlink tests
1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/home
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/cache
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/system-config2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/config
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/system-data2
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/data
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/state
1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace-symlink/using-etag/.dirs/runtime
1370s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
1370s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
1370s # Using temporary directory /tmp/test_file_BL9F22/g_file_replace_symlink_using_etag_8D8112
1372s ok 40 /file/replace-symlink/using-etag
1372s # slow test /file/replace-symlink/using-etag executed in 2.00 secs
1372s # End of replace-symlink tests
1372s # Start of replace tests
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace/write-only/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace/write-only/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace/write-only/.dirs/runtime
1372s # /file/replace/write-only summary: Test various situations for g_file_replace()
1372s # Current umask: 2
1372s # Test 0, using temporary directory /tmp/test_file_BL9F22/g_file_replace_N40112
1372s # Test 1, using temporary directory /tmp/test_file_BL9F22/g_file_replace_SW0112
1372s # Test 2, using temporary directory /tmp/test_file_BL9F22/g_file_replace_K4T112
1372s # Test 3, using temporary directory /tmp/test_file_BL9F22/g_file_replace_9YW112
1372s # Test 4, using temporary directory /tmp/test_file_BL9F22/g_file_replace_6JW112
1372s # Test 5, using temporary directory /tmp/test_file_BL9F22/g_file_replace_NTX112
1372s # Test 6, using temporary directory /tmp/test_file_BL9F22/g_file_replace_HN8Z12
1372s # Test 7, using temporary directory /tmp/test_file_BL9F22/g_file_replace_7IB012
1372s # Test 8, using temporary directory /tmp/test_file_BL9F22/g_file_replace_U5A012
1372s # Test 9, using temporary directory /tmp/test_file_BL9F22/g_file_replace_KEC012
1372s # Test 10, using temporary directory /tmp/test_file_BL9F22/g_file_replace_8T1Z12
1372s # Test 11, using temporary directory /tmp/test_file_BL9F22/g_file_replace_464Z12
1372s # Test 12, using temporary directory /tmp/test_file_BL9F22/g_file_replace_VW4Z12
1372s # Test 13, using temporary directory /tmp/test_file_BL9F22/g_file_replace_SX5Z12
1372s # Test 14, using temporary directory /tmp/test_file_BL9F22/g_file_replace_HOVZ12
1372s # Test 15, using temporary directory /tmp/test_file_BL9F22/g_file_replace_R5XZ12
1372s # Test 16, using temporary directory /tmp/test_file_BL9F22/g_file_replace_2E0Z12
1372s # Test 17, using temporary directory /tmp/test_file_BL9F22/g_file_replace_F5PZ12
1372s # Test 18, using temporary directory /tmp/test_file_BL9F22/g_file_replace_NIQZ12
1372s # Test 19, using temporary directory /tmp/test_file_BL9F22/g_file_replace_S4TZ12
1372s # Test 20, using temporary directory /tmp/test_file_BL9F22/g_file_replace_10W012
1372s # Test 21, using temporary directory /tmp/test_file_BL9F22/g_file_replace_KS0012
1372s # Test 22, using temporary directory /tmp/test_file_BL9F22/g_file_replace_8W2012
1372s # Test 23, using temporary directory /tmp/test_file_BL9F22/g_file_replace_9CR012
1372s # Test 24, using temporary directory /tmp/test_file_BL9F22/g_file_replace_KVW012
1372s # Test 25, using temporary directory /tmp/test_file_BL9F22/g_file_replace_PPM012
1372s # Test 26, using temporary directory /tmp/test_file_BL9F22/g_file_replace_RZL012
1372s # Test 27, using temporary directory /tmp/test_file_BL9F22/g_file_replace_DBN012
1372s # Test 28, using temporary directory /tmp/test_file_BL9F22/g_file_replace_GCQ012
1372s # Test 29, using temporary directory /tmp/test_file_BL9F22/g_file_replace_J3E012
1372s # Test 30, using temporary directory /tmp/test_file_BL9F22/g_file_replace_P3F012
1372s # Test 31, using temporary directory /tmp/test_file_BL9F22/g_file_replace_4XF012
1372s # Test 32, using temporary directory /tmp/test_file_BL9F22/g_file_replace_WEJ012
1372s # Test 33, using temporary directory /tmp/test_file_BL9F22/g_file_replace_XGG412
1372s # Test 34, using temporary directory /tmp/test_file_BL9F22/g_file_replace_VHH412
1372s # Test 35, using temporary directory /tmp/test_file_BL9F22/g_file_replace_Q3G412
1372s # Test 36, using temporary directory /tmp/test_file_BL9F22/g_file_replace_RSK412
1372s # Test 37, using temporary directory /tmp/test_file_BL9F22/g_file_replace_KHA412
1372s # Test 38, using temporary directory /tmp/test_file_BL9F22/g_file_replace_8RC412
1372s # Test 39, using temporary directory /tmp/test_file_BL9F22/g_file_replace_R4E412
1372s # Test 40, using temporary directory /tmp/test_file_BL9F22/g_file_replace_N93312
1372s # Test 41, using temporary directory /tmp/test_file_BL9F22/g_file_replace_6J5312
1372s # Test 42, using temporary directory /tmp/test_file_BL9F22/g_file_replace_WN7312
1372s # Test 43, using temporary directory /tmp/test_file_BL9F22/g_file_replace_4OY312
1372s # Test 44, using temporary directory /tmp/test_file_BL9F22/g_file_replace_2J0312
1372s # Test 45, using temporary directory /tmp/test_file_BL9F22/g_file_replace_J11312
1372s # Test 46, using temporary directory /tmp/test_file_BL9F22/g_file_replace_937412
1372s # Test 47, using temporary directory /tmp/test_file_BL9F22/g_file_replace_0H9412
1372s # Test 48, using temporary directory /tmp/test_file_BL9F22/g_file_replace_I1Y412
1372s # We do not have CAP_DAC_OVERRIDE or equivalent
1372s ok 41 /file/replace/write-only
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/system-config1:/tmp/test_file_BL9F22/file/replace/read-write/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/system-data1:/tmp/test_file_BL9F22/file/replace/read-write/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/replace/read-write/.dirs/runtime
1372s # /file/replace/read-write summary: Test various situations for g_file_replace()
1372s # Current umask: 2
1372s # Test 0, using temporary directory /tmp/test_file_BL9F22/g_file_replace_JWZ412
1372s # Test 1, using temporary directory /tmp/test_file_BL9F22/g_file_replace_EZZ412
1372s # Test 2, using temporary directory /tmp/test_file_BL9F22/g_file_replace_G61412
1372s # Test 3, using temporary directory /tmp/test_file_BL9F22/g_file_replace_WF4412
1372s # Test 4, using temporary directory /tmp/test_file_BL9F22/g_file_replace_X63412
1372s # Test 5, using temporary directory /tmp/test_file_BL9F22/g_file_replace_Y33412
1372s # Test 6, using temporary directory /tmp/test_file_BL9F22/g_file_replace_96U412
1372s # Test 7, using temporary directory /tmp/test_file_BL9F22/g_file_replace_TBW412
1372s # Test 8, using temporary directory /tmp/test_file_BL9F22/g_file_replace_D7V412
1372s # Test 9, using temporary directory /tmp/test_file_BL9F22/g_file_replace_COX412
1372s # Test 10, using temporary directory /tmp/test_file_BL9F22/g_file_replace_18M412
1372s # Test 11, using temporary directory /tmp/test_file_BL9F22/g_file_replace_N7N412
1372s # Test 12, using temporary directory /tmp/test_file_BL9F22/g_file_replace_UQP412
1372s # Test 13, using temporary directory /tmp/test_file_BL9F22/g_file_replace_KJP412
1372s # Test 14, using temporary directory /tmp/test_file_BL9F22/g_file_replace_K2R412
1372s # Test 15, using temporary directory /tmp/test_file_BL9F22/g_file_replace_V72212
1372s # Test 16, using temporary directory /tmp/test_file_BL9F22/g_file_replace_TE5212
1372s # Test 17, using temporary directory /tmp/test_file_BL9F22/g_file_replace_356212
1372s # Test 18, using temporary directory /tmp/test_file_BL9F22/g_file_replace_8PV212
1372s # Test 19, using temporary directory /tmp/test_file_BL9F22/g_file_replace_X7X212
1372s # Test 20, using temporary directory /tmp/test_file_BL9F22/g_file_replace_FT0212
1372s # Test 21, using temporary directory /tmp/test_file_BL9F22/g_file_replace_GIQ212
1372s # Test 22, using temporary directory /tmp/test_file_BL9F22/g_file_replace_HWS212
1372s # Test 23, using temporary directory /tmp/test_file_BL9F22/g_file_replace_0US212
1372s # Test 24, using temporary directory /tmp/test_file_BL9F22/g_file_replace_O1T212
1372s # Test 25, using temporary directory /tmp/test_file_BL9F22/g_file_replace_6VJ212
1372s # Test 26, using temporary directory /tmp/test_file_BL9F22/g_file_replace_Q1K212
1372s # Test 27, using temporary directory /tmp/test_file_BL9F22/g_file_replace_5TK212
1372s # Test 28, using temporary directory /tmp/test_file_BL9F22/g_file_replace_Z5L212
1372s # Test 29, using temporary directory /tmp/test_file_BL9F22/g_file_replace_HCQ312
1372s # Test 30, using temporary directory /tmp/test_file_BL9F22/g_file_replace_HGR312
1372s # Test 31, using temporary directory /tmp/test_file_BL9F22/g_file_replace_QDR312
1372s # Test 32, using temporary directory /tmp/test_file_BL9F22/g_file_replace_EKT312
1372s # Test 33, using temporary directory /tmp/test_file_BL9F22/g_file_replace_FDK312
1372s # Test 34, using temporary directory /tmp/test_file_BL9F22/g_file_replace_P0J312
1372s # Test 35, using temporary directory /tmp/test_file_BL9F22/g_file_replace_IGL312
1372s # Test 36, using temporary directory /tmp/test_file_BL9F22/g_file_replace_UJN312
1372s # Test 37, using temporary directory /tmp/test_file_BL9F22/g_file_replace_7WO312
1372s # Test 38, using temporary directory /tmp/test_file_BL9F22/g_file_replace_LHE312
1372s # Test 39, using temporary directory /tmp/test_file_BL9F22/g_file_replace_SYG312
1372s # Test 40, using temporary directory /tmp/test_file_BL9F22/g_file_replace_DS7212
1372s # Test 41, using temporary directory /tmp/test_file_BL9F22/g_file_replace_449212
1372s # Test 42, using temporary directory /tmp/test_file_BL9F22/g_file_replace_9PC312
1372s # Test 43, using temporary directory /tmp/test_file_BL9F22/g_file_replace_ZX8612
1372s # Test 44, using temporary directory /tmp/test_file_BL9F22/g_file_replace_LWA712
1372s # Test 45, using temporary directory /tmp/test_file_BL9F22/g_file_replace_XQA712
1372s # Test 46, using temporary directory /tmp/test_file_BL9F22/g_file_replace_U1B712
1372s # Test 47, using temporary directory /tmp/test_file_BL9F22/g_file_replace_2DD712
1372s # Test 48, using temporary directory /tmp/test_file_BL9F22/g_file_replace_UKE712
1372s # We do not have CAP_DAC_OVERRIDE or equivalent
1372s ok 42 /file/replace/read-write
1372s # End of replace tests
1372s # Start of copy tests
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/copy/progress/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/copy/progress/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/copy/progress/.dirs/system-config1:/tmp/test_file_BL9F22/file/copy/progress/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/copy/progress/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/copy/progress/.dirs/system-data1:/tmp/test_file_BL9F22/file/copy/progress/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/copy/progress/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/copy/progress/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/copy/progress/.dirs/runtime
1372s ok 43 /file/copy/progress
1372s # End of copy tests
1372s # Start of writev tests
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/no-bytes-written/.dirs/runtime
1372s ok 44 /file/writev/no-bytes-written
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/no-vectors/.dirs/runtime
1372s ok 45 /file/writev/no-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/empty-vectors/.dirs/runtime
1372s ok 46 /file/writev/empty-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/too-big-vectors/.dirs/runtime
1372s ok 47 /file/writev/too-big-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async/.dirs/runtime
1372s ok 48 /file/writev/async
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async_all/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async_all/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async_all/.dirs/runtime
1372s ok 49 /file/writev/async_all
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async_all-empty-vectors/.dirs/runtime
1372s ok 50 /file/writev/async_all-empty-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async_all-no-vectors/.dirs/runtime
1372s ok 51 /file/writev/async_all-no-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async_all-to-big-vectors/.dirs/runtime
1372s ok 52 /file/writev/async_all-to-big-vectors
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/writev/async_all-cancellation/.dirs/runtime
1372s ok 53 /file/writev/async_all-cancellation
1372s # End of writev tests
1372s # Start of from-uri tests
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/from-uri/ignores-query-string/.dirs/runtime
1372s ok 54 /file/from-uri/ignores-query-string
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BL9F22/file/from-uri/ignores-fragment/.dirs/runtime
1372s ok 55 /file/from-uri/ignores-fragment
1372s # End of from-uri tests
1372s # End of file tests
1372s ok - glib/file.test
1372s # Running test: glib/gthash.test
1372s TAP version 14
1372s # random seed: R02Sce2632c599ac14c68a7b8b929a045566
1372s 1..1
1372s # Start of gthash tests
1372s ok 1 /gthash/build-retrieve
1372s # End of gthash tests
1372s ok - glib/gthash.test
1372s # Running test: glib/g-file.test
1372s TAP version 14
1372s # random seed: R02S26703a3d4a69d1110603850d39afb95a
1372s 1..8
1372s # Start of g-file tests
1372s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1372s ok 1 /g-file/test_g_file_new_null
1372s ok 2 /g-file/test_g_file_new_for_path
1372s ok 3 /g-file/test_g_file_new_for_uri
1372s ok 4 /g-file/test_g_file_dup
1372s ok 5 /g-file/test_g_file_get_parse_name_utf8
1372s file:///tmp/test-tmp-glib_g-file.test-38Z612
1372s file:///tmp
1372s file:///tmp
1372s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
1372s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
1372s ok 6 /g-file/test_g_file_new_for_commandline_arg
1372s /dir1 /dir1/dir2/dir3/
1372s /dir1/ /dir1/dir2/dir3/
1372s /dir1 /dir1/dir2/dir3
1372s /dir1/ /dir1/dir2/dir3
1372s /tmp/ /something/
1372s /dir1/dir2 /dir1/
1372s //dir1/new //dir1/new/dir2/dir3
1372s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2
1372s file:///dir1 file:///dir1/dir2/dir3/
1372s file:///dir1/ file:///dir1/dir2/dir3/
1372s file:///dir1 file:///dir1/dir2/dir3
1372s file:///dir1/ file:///dir1/dir2/dir3
1372s file:///tmp/ file:///something/
1372s file:///dir1/dir2 file:///dir1/
1372s file:////dir1/new file:////dir1/new/dir2/dir3
1372s 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
1372s ok 7 /g-file/test_g_file_has_prefix
1372s ok 8 /g-file/test_g_file_get_parent_child
1372s # End of g-file tests
1372s ok - glib/g-file.test
1372s # Running test: glib/array-test.test
1372s TAP version 14
1372s # random seed: R02S7c588fe9c3fe516a0e8bc469396ca6d8
1372s 1..113
1372s # Start of array tests
1372s ok 1 /array/ref-count
1372s ok 2 /array/steal
1372s ok 3 /array/clear-func
1372s ok 4 /array/binary-search
1372s # /array/copy-sized summary: Test that copying a newly-allocated sized array works.
1372s ok 5 /array/copy-sized
1372s ok 6 /array/overflow-append-vals
1372s ok 7 /array/overflow-set-size
1372s # Start of new tests
1372s ok 8 /array/new/zero-terminated
1372s ok 9 /array/new/take
1372s ok 10 /array/new/take-zero-terminated
1372s # Start of take tests
1372s ok 11 /array/new/take/empty
1372s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1372s # End of take tests
1372s # End of new tests
1372s # Start of set-size tests
1372s ok 13 /array/set-size/non-zero-terminated-no-clear
1372s ok 14 /array/set-size/non-zero-terminated-clear
1372s ok 15 /array/set-size/zero-terminated-no-clear
1372s ok 16 /array/set-size/zero-terminated-clear
1372s # Start of sized tests
1372s ok 17 /array/set-size/sized/non-zero-terminated-no-clear
1372s ok 18 /array/set-size/sized/non-zero-terminated-clear
1372s ok 19 /array/set-size/sized/zero-terminated-no-clear
1372s ok 20 /array/set-size/sized/zero-terminated-clear
1372s # End of sized tests
1372s # End of set-size tests
1372s # Start of append-val tests
1372s ok 21 /array/append-val/non-zero-terminated-no-clear
1372s ok 22 /array/append-val/non-zero-terminated-clear
1372s ok 23 /array/append-val/zero-terminated-no-clear
1372s ok 24 /array/append-val/zero-terminated-clear
1372s # End of append-val tests
1372s # Start of prepend-val tests
1372s ok 25 /array/prepend-val/non-zero-terminated-no-clear
1372s ok 26 /array/prepend-val/non-zero-terminated-clear
1372s ok 27 /array/prepend-val/zero-terminated-no-clear
1372s ok 28 /array/prepend-val/zero-terminated-clear
1372s # End of prepend-val tests
1372s # Start of prepend-vals tests
1372s ok 29 /array/prepend-vals/non-zero-terminated-no-clear
1372s ok 30 /array/prepend-vals/non-zero-terminated-clear
1372s ok 31 /array/prepend-vals/zero-terminated-no-clear
1372s ok 32 /array/prepend-vals/zero-terminated-clear
1372s # End of prepend-vals tests
1372s # Start of insert-vals tests
1372s ok 33 /array/insert-vals/non-zero-terminated-no-clear
1372s ok 34 /array/insert-vals/non-zero-terminated-clear
1372s ok 35 /array/insert-vals/zero-terminated-no-clear
1372s ok 36 /array/insert-vals/zero-terminated-clear
1372s # End of insert-vals tests
1372s # Start of remove-index tests
1372s ok 37 /array/remove-index/non-zero-terminated-no-clear
1372s ok 38 /array/remove-index/non-zero-terminated-clear
1372s ok 39 /array/remove-index/zero-terminated-no-clear
1372s ok 40 /array/remove-index/zero-terminated-clear
1372s # End of remove-index tests
1372s # Start of remove-index-fast tests
1372s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear
1372s ok 42 /array/remove-index-fast/non-zero-terminated-clear
1372s ok 43 /array/remove-index-fast/zero-terminated-no-clear
1372s ok 44 /array/remove-index-fast/zero-terminated-clear
1372s # End of remove-index-fast tests
1372s # Start of remove-range tests
1372s ok 45 /array/remove-range/non-zero-terminated-no-clear
1372s ok 46 /array/remove-range/non-zero-terminated-clear
1372s ok 47 /array/remove-range/zero-terminated-no-clear
1372s ok 48 /array/remove-range/zero-terminated-clear
1372s # End of remove-range tests
1372s # Start of copy tests
1372s ok 49 /array/copy/non-zero-terminated-no-clear
1372s ok 50 /array/copy/non-zero-terminated-clear
1372s ok 51 /array/copy/zero-terminated-no-clear
1372s ok 52 /array/copy/zero-terminated-clear
1372s # End of copy tests
1372s # Start of sort tests
1372s ok 53 /array/sort/non-zero-terminated-no-clear
1372s ok 54 /array/sort/non-zero-terminated-clear
1372s ok 55 /array/sort/zero-terminated-no-clear
1372s ok 56 /array/sort/zero-terminated-clear
1372s # End of sort tests
1372s # Start of sort-with-data tests
1372s ok 57 /array/sort-with-data/non-zero-terminated-no-clear
1372s ok 58 /array/sort-with-data/non-zero-terminated-clear
1372s ok 59 /array/sort-with-data/zero-terminated-no-clear
1372s ok 60 /array/sort-with-data/zero-terminated-clear
1372s # End of sort-with-data tests
1372s # End of array tests
1372s # Start of pointerarray tests
1372s ok 61 /pointerarray/add
1372s ok 62 /pointerarray/insert
1372s ok 63 /pointerarray/new-take
1372s ok 64 /pointerarray/new-take-null-terminated
1372s ok 65 /pointerarray/new-from-array
1372s ok 66 /pointerarray/new-from-null-terminated-array
1372s ok 67 /pointerarray/free-func
1372s ok 68 /pointerarray/array_extend_and_steal
1372s ok 69 /pointerarray/sort
1372s ok 70 /pointerarray/sort-with-data
1372s ok 71 /pointerarray/sort-values
1372s ok 72 /pointerarray/sort-values-with-data
1372s ok 73 /pointerarray/remove-range
1372s ok 74 /pointerarray/steal
1372s # Start of free tests
1372s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
1372s ok 75 /pointerarray/free/null-terminated
1372s # End of free tests
1372s # Start of new-take tests
1372s ok 76 /pointerarray/new-take/empty
1372s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1372s ok 78 /pointerarray/new-take/with-free-func
1372s # End of new-take tests
1372s # Start of new-take-null-terminated tests
1372s ok 79 /pointerarray/new-take-null-terminated/empty
1372s ok 80 /pointerarray/new-take-null-terminated/with-free-func
1372s ok 81 /pointerarray/new-take-null-terminated/from-gstrv
1372s # End of new-take-null-terminated tests
1372s # Start of new-from-array tests
1372s ok 82 /pointerarray/new-from-array/empty
1372s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1372s ok 84 /pointerarray/new-from-array/with-copy-and-free-func
1372s # End of new-from-array tests
1372s # Start of new-from-null-terminated-array tests
1372s ok 85 /pointerarray/new-from-null-terminated-array/empty
1372s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
1372s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv
1372s # End of new-from-null-terminated-array tests
1372s # Start of ref-count tests
1372s ok 88 /pointerarray/ref-count/not-null-terminated
1372s ok 89 /pointerarray/ref-count/null-terminated
1372s # End of ref-count tests
1372s # Start of array_copy tests
1372s # /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
1372s ok 90 /pointerarray/array_copy/not-null-terminated
1372s # /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
1372s ok 91 /pointerarray/array_copy/null-terminated
1372s # End of array_copy tests
1372s # Start of array_extend tests
1372s ok 92 /pointerarray/array_extend/not-null-terminated
1372s ok 93 /pointerarray/array_extend/null-terminated
1372s # End of array_extend tests
1372s # Start of sort tests
1372s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
1372s ok 94 /pointerarray/sort/example
1372s # End of sort tests
1372s # Start of sort-with-data tests
1372s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
1372s ok 95 /pointerarray/sort-with-data/example
1372s # End of sort-with-data tests
1372s # Start of sort-values tests
1372s ok 96 /pointerarray/sort-values/example
1372s # End of sort-values tests
1372s # Start of sort-values-with-data tests
1372s ok 97 /pointerarray/sort-values-with-data/example
1372s # End of sort-values-with-data tests
1372s # Start of find tests
1372s ok 98 /pointerarray/find/empty
1372s ok 99 /pointerarray/find/non-empty
1372s # End of find tests
1372s # Start of steal_index tests
1372s ok 100 /pointerarray/steal_index/not-null-terminated
1372s ok 101 /pointerarray/steal_index/null-terminated
1372s # End of steal_index tests
1372s # End of pointerarray tests
1372s # Start of bytearray tests
1372s ok 102 /bytearray/steal
1372s ok 103 /bytearray/append
1372s ok 104 /bytearray/prepend
1372s ok 105 /bytearray/remove
1372s ok 106 /bytearray/remove-fast
1372s ok 107 /bytearray/remove-range
1372s ok 108 /bytearray/ref-count
1372s ok 109 /bytearray/sort
1372s ok 110 /bytearray/sort-with-data
1372s ok 111 /bytearray/new-take
1372s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT.
1372s ok 113 /bytearray/free-to-bytes
1372s # End of bytearray tests
1372s ok - glib/array-test.test
1372s # Running test: glib/uri.test
1372s TAP version 14
1372s # random seed: R02S043350b2f1ffd5a35c57dcbf3d7907f5
1372s 1..24
1372s # Start of uri tests
1372s ok 1 /uri/file-to-uri
1372s ok 2 /uri/file-from-uri
1372s ok 3 /uri/file-roundtrip
1372s ok 4 /uri/list
1372s # Test 0: %2Babc %4F
1372s # Test 1: %2Babc %4F
1372s # Test 2: %00abc %4F
1372s # Test 3: /cursors/none.png
1372s # Test 4: /cursors%2fbad-subdir/none.png
1372s # Test 5: %0
1372s # Test 6: %ra
1372s # Test 7: %2r
1372s # Test 8: Timm B?der
1372s # Test 9: (null)
1372s ok 5 /uri/unescape-string
1372s ok 6 /uri/unescape-segment
1372s # Test 0: abcdefgABCDEFG._~
1372s # Test 1: :+ \\?#
1372s # Test 2: a+b:c
1372s # Test 3: a+b:c\303\234
1372s # Test 4: \374;\322
1372s # Test 5: \303\261\303(
1372s ok 7 /uri/escape-string
1372s ok 8 /uri/escape-bytes
1372s ok 9 /uri/scheme
1372s ok 10 /uri/build
1372s ok 11 /uri/split
1372s ok 12 /uri/is_valid
1372s ok 13 /uri/to-string
1372s ok 14 /uri/join
1372s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
1372s # Combination 0
1372s # Combination 1
1372s # Combination 2
1372s # Combination 3
1372s # Combination 4
1372s # Combination 5
1372s # Combination 6
1372s # Combination 7
1372s # Combination 8
1372s # Combination 9
1372s # Combination 10
1372s # Combination 11
1372s # Combination 12
1372s # Combination 13
1372s # Combination 14
1372s # Combination 15
1372s # Combination 16
1372s # Combination 17
1372s # Combination 18
1372s # Combination 19
1372s # Combination 20
1372s # Combination 21
1372s # Combination 22
1372s # Combination 23
1372s # Combination 24
1372s # Combination 25
1372s # Combination 26
1372s # Combination 27
1372s # Combination 28
1372s # Combination 29
1372s # Combination 30
1372s # Combination 31
1372s # Combination 32
1372s # Combination 33
1372s # Combination 34
1372s # Combination 35
1372s # Combination 36
1372s # Combination 37
1372s # Combination 38
1372s # Combination 39
1372s # Combination 40
1372s # Combination 41
1372s # Combination 42
1372s # Combination 43
1372s # Combination 44
1372s # Combination 45
1372s # Combination 46
1372s # Combination 47
1372s # Combination 48
1372s # Combination 49
1372s # Combination 50
1372s # Combination 51
1372s # Combination 52
1372s # Combination 53
1372s # Combination 54
1372s # Combination 55
1372s # Combination 56
1372s # Combination 57
1372s # Combination 58
1372s # Combination 59
1372s # Combination 60
1372s # Combination 61
1372s # Combination 62
1372s # Combination 63
1372s # Combination 64
1372s # Combination 65
1372s # Combination 66
1372s # Combination 67
1372s # Combination 68
1372s # Combination 69
1372s # Combination 70
1372s # Combination 71
1372s # Combination 72
1372s # Combination 73
1372s # Combination 74
1372s # Combination 75
1372s # Combination 76
1372s # Combination 77
1372s # Combination 78
1372s # Combination 79
1372s # Combination 80
1372s # Combination 81
1372s # Combination 82
1372s # Combination 83
1372s # Combination 84
1372s # Combination 85
1372s # Combination 86
1372s # Combination 87
1372s # Combination 88
1372s # Combination 89
1372s # Combination 90
1372s # Combination 91
1372s # Combination 92
1372s # Combination 93
1372s # Combination 94
1372s # Combination 95
1372s # Combination 96
1372s # Combination 97
1372s # Combination 98
1372s # Combination 99
1372s # Combination 100
1372s # Combination 101
1372s # Combination 102
1372s # Combination 103
1372s # Combination 104
1372s # Combination 105
1372s # Combination 106
1372s # Combination 107
1372s # Combination 108
1372s # Combination 109
1372s # Combination 110
1372s # Combination 111
1372s # Combination 112
1372s # Combination 113
1372s # Combination 114
1372s # Combination 115
1372s # Combination 116
1372s # Combination 117
1372s # Combination 118
1372s # Combination 119
1372s # Combination 120
1372s # Combination 121
1372s # Combination 122
1372s # Combination 123
1372s # Combination 124
1372s # Combination 125
1372s # Combination 126
1372s # Combination 127
1372s # Combination 128
1372s # Combination 129
1372s # Combination 130
1372s # Combination 131
1372s # Combination 132
1372s # Combination 133
1372s # Combination 134
1372s # Combination 135
1372s # Combination 136
1372s # Combination 137
1372s # Combination 138
1372s # Combination 139
1372s # Combination 140
1372s # Combination 141
1372s # Combination 142
1372s # Combination 143
1372s # Combination 144
1372s # Combination 145
1372s # Combination 146
1372s # Combination 147
1372s # Combination 148
1372s # Combination 149
1372s # Combination 150
1372s # Combination 151
1372s # Combination 152
1372s # Combination 153
1372s # Combination 154
1372s # Combination 155
1372s # Combination 156
1372s # Combination 157
1372s # Combination 158
1372s # Combination 159
1372s # Combination 160
1372s # Combination 161
1372s # Combination 162
1372s # Combination 163
1372s # Combination 164
1372s # Combination 165
1372s # Combination 166
1372s # Combination 167
1372s # Combination 168
1372s # Combination 169
1372s # Combination 170
1372s # Combination 171
1372s # Combination 172
1372s # Combination 173
1372s # Combination 174
1372s # Combination 175
1372s # Combination 176
1372s # Combination 177
1372s # Combination 178
1372s # Combination 179
1372s # Combination 180
1372s # Combination 181
1372s # Combination 182
1372s # Combination 183
1372s # Combination 184
1372s # Combination 185
1372s # Combination 186
1372s # Combination 187
1372s # Combination 188
1372s # Combination 189
1372s # Combination 190
1372s # Combination 191
1372s # Combination 192
1372s # Combination 193
1372s # Combination 194
1372s # Combination 195
1372s # Combination 196
1372s # Combination 197
1372s # Combination 198
1372s # Combination 199
1372s # Combination 200
1372s # Combination 201
1372s # Combination 202
1372s # Combination 203
1372s # Combination 204
1372s # Combination 205
1372s # Combination 206
1372s # Combination 207
1372s # Combination 208
1372s # Combination 209
1372s # Combination 210
1372s # Combination 211
1372s # Combination 212
1372s # Combination 213
1372s # Combination 214
1372s # Combination 215
1372s # Combination 216
1372s # Combination 217
1372s # Combination 218
1372s # Combination 219
1372s # Combination 220
1372s # Combination 221
1372s # Combination 222
1372s # Combination 223
1372s # Combination 224
1372s # Combination 225
1372s # Combination 226
1372s # Combination 227
1372s # Combination 228
1372s # Combination 229
1372s # Combination 230
1372s # Combination 231
1372s # Combination 232
1372s # Combination 233
1372s # Combination 234
1372s # Combination 235
1372s # Combination 236
1372s # Combination 237
1372s # Combination 238
1372s # Combination 239
1372s # Combination 240
1372s # Combination 241
1372s # Combination 242
1372s # Combination 243
1372s # Combination 244
1372s # Combination 245
1372s # Combination 246
1372s # Combination 247
1372s # Combination 248
1372s # Combination 249
1372s # Combination 250
1372s # Combination 251
1372s # Combination 252
1372s # Combination 253
1372s # Combination 254
1372s # Combination 255
1372s ok 15 /uri/join-split-round-trip
1372s ok 16 /uri/normalize
1372s # Start of unescape-bytes tests
1372s # Test 0: %00%00
1372s # Test 1: /cursors/none.png
1372s # Test 2: /cursors%2fbad-subdir/none.png
1372s # Test 3: %%
1372s # Test 4: %
1372s ok 17 /uri/unescape-bytes/nul-terminated
1372s # Test 0: %00%00
1372s # Test 1: /cursors/none.png
1372s # Test 2: /cursors%2fbad-subdir/none.png
1372s # Test 3: %%
1372s # Test 4: %
1372s ok 18 /uri/unescape-bytes/length
1372s # End of unescape-bytes tests
1372s # Start of parsing tests
1372s # Test 0: foo:
1372s # Test 1: file:/dev/null
1372s # Test 2: file:///dev/null
1372s # Test 3: ftp://user@host/path
1372s # Test 4: ftp://user@host:9999/path
1372s # Test 5: ftp://user:password@host/path
1372s # Test 6: ftp://user:password@host:9999/path
1372s # Test 7: ftp://user:password@host
1372s # Test 8: http://us%65r@host
1372s # Test 9: http://us%40r@host
1372s # Test 10: http://us%3ar@host
1372s # Test 11: http://us%2fr@host
1372s # Test 12: http://us%3fr@host
1372s # Test 13: http://host?query
1372s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
1372s # 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
1372s # Test 16: http://space/%20
1372s # Test 17: http://delims/%3C%3E%23%25%22
1372s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
1372s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
1372s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
1372s # Test 21: http://[3ffe:2a00:100:7031::1]
1372s # Test 22: http://[1080::8:800:200C:417A]/foo
1372s # Test 23: http://[::192.9.5.5]/ipng
1372s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
1372s # Test 25: http://[2010:836B:4179::836B:4179]
1372s # Test 26: http://host/path with spaces
1372s # Test 27: http://host/path
1372s # Test 28: http://host/path
1372s # Test 29: http://host
1372s # Test 30: http://host:999
1372s # Test 31: http://host/pa
1372s # th
1372s # Test 32: http:
1372s # //host/path
1372s # Test 33: http:// host/path
1372s # Test 34: http://host/path?
1372s # Test 35: http://host/path#
1372s # Test 36: http://host/path%
1372s # Test 37: http://h%ost/path
1372s # Test 38: http://host/path%%
1372s # Test 39: http://host/path%%%
1372s # Test 40: http://host/path%/x/
1372s # Test 41: http://host/path%0x/
1372s # Test 42: http://host/path%ax
1372s # Test 43: http://host/p?th/
1372s # Test 44: HTTP:////////////////
1372s # Test 45: http://@host
1372s # Test 46: http://:@host
1372s # Test 47: scheme://foo%3Abar._webdav._tcp.local
1372s # Test 48: http://example.com/..
1372s # Test 49: foo0://host/path
1372s # Test 50: f0.o://host/path
1372s # Test 51: http++://host/path
1372s # Test 52: http-ish://host/path
1372s # Test 53: http://[fe80::dead:beef%]/
1372s # Test 54: http://[fe80::dead:beef%em1]/
1372s # Test 55: http://[fe80::dead:beef%em1]/
1372s # Test 56: http://[fe80::dead:beef%25em1]/
1372s # Test 57: http://[fe80::dead:beef%25em1%20]/
1372s # Test 58: http://[fe80::dead:beef%25em%31]/
1372s # Test 59: http://[fe80::dead:beef%10]/
1372s # Test 60: http://[fe80::dead:beef%10]/
1372s # Test 61: http://[fe80::dead:beef%25]/
1372s # Test 62: http://[fe80::dead:beef%25]/
1372s # Test 63: http://[192.168.0.1%25em1]/
1372s # Test 64: http://[fe80::dead:beef%2em1]/
1372s # Test 65: http://[fe80::dead:beef%2em1]/
1372s # Test 66: http://[fe80::dead:beef%25em1%00]/
1372s # Test 67: http://[fe80::dead:beef%25em1%00]/
1372s # Test 68: http://xn--mixed-?p/
1372s # Test 69: data:.///
1372s # Test 70: data:/.//
1372s ok 19 /uri/parsing/absolute
1372s ok 20 /uri/parsing/relative
1372s # End of parsing tests
1372s # Start of iter-params tests
1372s # URI 0: p1=foo&p2=bar;p3=baz
1372s # URI 1: p1=foo&p2=bar
1372s # URI 2: p1=foo&&P1=bar
1372s # URI 3: %00=foo
1372s # URI 4: p1=%00
1372s # URI 5: p1=foo&p1=bar
1372s # URI 6: p1=foo&P1=bar
1372s # URI 7: =%
1372s # URI 8: =
1372s # URI 9: foo
1372s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1372s ok 21 /uri/iter-params/nul-terminated
1372s # URI 0: p1=foo&p2=bar;p3=baz
1372s # URI 1: p1=foo&p2=bar
1372s # URI 2: p1=foo&&P1=bar
1372s # URI 3: %00=foo
1372s # URI 4: p1=%00
1372s # URI 5: p1=foo&p1=bar
1372s # URI 6: p1=foo&P1=bar
1372s # URI 7: =%
1372s # URI 8: =
1372s # URI 9: foo
1372s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1372s ok 22 /uri/iter-params/length
1372s # End of iter-params tests
1372s # Start of parse-params tests
1372s # URI 0: p1=foo&p2=bar;p3=baz
1372s # URI 1: p1=foo&p2=bar
1372s # URI 2: p1=foo&&P1=bar
1372s # URI 3: %00=foo
1372s # URI 4: p1=%00
1372s # URI 5: p1=foo&p1=bar
1372s # URI 6: p1=foo&P1=bar
1372s # URI 7: =%
1372s # URI 8: =
1372s # URI 9: foo
1372s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1372s ok 23 /uri/parse-params/nul-terminated
1372s # URI 0: p1=foo&p2=bar;p3=baz
1372s # URI 1: p1=foo&p2=bar
1372s # URI 2: p1=foo&&P1=bar
1372s # URI 3: %00=foo
1372s # URI 4: p1=%00
1372s # URI 5: p1=foo&p1=bar
1372s # URI 6: p1=foo&P1=bar
1372s # URI 7: =%
1372s # URI 8: =
1372s # URI 9: foo
1372s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1372s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1372s ok 24 /uri/parse-params/length
1372s # End of parse-params tests
1372s # End of uri tests
1372s ok - glib/uri.test
1372s # Running test: glib/signalgroup.test
1372s TAP version 14
1372s # random seed: R02S26250b6bde2e9cdf9c678858d5ba76d8
1372s 1..9
1372s # Start of GObject tests
1372s # Start of SignalGroup tests
1372s ok 1 /GObject/SignalGroup/invalid
1372s ok 2 /GObject/SignalGroup/simple
1372s ok 3 /GObject/SignalGroup/changing-target
1372s ok 4 /GObject/SignalGroup/blocking
1372s ok 5 /GObject/SignalGroup/weak-ref-target
1372s ok 6 /GObject/SignalGroup/connect-object
1372s ok 7 /GObject/SignalGroup/signal-parsing
1372s ok 8 /GObject/SignalGroup/properties
1372s ok 9 /GObject/SignalGroup/interface
1372s # Start of signal-parsing tests
1372s # End of signal-parsing tests
1372s # End of SignalGroup tests
1372s # End of GObject tests
1372s ok - glib/signalgroup.test
1372s # Running test: glib/custom-dispatch.test
1372s TAP version 14
1372s # random seed: R02S2440ed8c148dddbee6e829d9a82e719e
1372s 1..2
1372s # Start of properties tests
1372s # Start of custom-dispatch tests
1372s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization
1372s ok 1 /properties/custom-dispatch/init
1372s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers
1372s ok 2 /properties/custom-dispatch/set
1372s # End of custom-dispatch tests
1372s # End of properties tests
1372s ok - glib/custom-dispatch.test
1372s # Running test: glib/reference.test
1372s TAP version 14
1372s # random seed: R02Sd31a5aad56582a4916d85e309baea737
1372s 1..29
1372s # Start of type tests
1372s ok 1 /type/fundamentals
1372s ok 2 /type/qdata
1372s ok 3 /type/query
1372s ok 4 /type/class-private
1372s # End of type tests
1372s # Start of object tests
1372s ok 5 /object/clear
1372s ok 6 /object/clear-function
1372s ok 7 /object/set
1372s ok 8 /object/set-function
1372s ok 9 /object/value
1372s ok 10 /object/initially-unowned
1372s ok 11 /object/weak-pointer
1372s ok 12 /object/weak-ref
1372s ok 13 /object/toggle-ref
1372s ok 14 /object/qdata
1372s ok 15 /object/qdata2
1372s # Start of set tests
1372s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject
1372s ok 16 /object/set/derived-type
1372s # End of set tests
1372s # Start of weak-pointer tests
1372s ok 17 /object/weak-pointer/clear
1372s ok 18 /object/weak-pointer/clear-function
1372s ok 19 /object/weak-pointer/set
1372s ok 20 /object/weak-pointer/set-function
1372s # End of weak-pointer tests
1372s # Start of weak-ref tests
1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1372s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
1372s ok 21 /object/weak-ref/on-dispose
1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
1372s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
1372s ok 22 /object/weak-ref/on-run-dispose
1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1372s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
1372s ok 23 /object/weak-ref/on-toggle-notify
1372s ok 24 /object/weak-ref/in-toggle-notify
1372s ok 25 /object/weak-ref/many
1372s # Start of concurrent tests
1372s ok 26 /object/weak-ref/concurrent/0
1372s ok 27 /object/weak-ref/concurrent/1
1372s # End of concurrent tests
1372s # End of weak-ref tests
1372s # Start of toggle-ref tests
1372s ok 28 /object/toggle-ref/ref-on-dispose
1372s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
1372s # End of toggle-ref tests
1372s # End of object tests
1372s ok - glib/reference.test
1372s # Running test: glib/gdbus-method-invocation.test
1372s TAP version 14
1372s # random seed: R02Se767cf24230ff37e5cd7ef3f58f4f23b
1372s 1..1
1372s # Start of gdbus tests
1372s # Start of method-invocation tests
1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/home
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/cache
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/system-config2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/config
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/system-data2
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/data
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/state
1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_GAUA22/gdbus/method-invocation/return/.dirs/runtime
1372s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
1372s # Calling org.freedesktop.DBus.Properties.Get
1372s # Calling org.freedesktop.DBus.Properties.Get
1372s # Calling org.freedesktop.DBus.Properties.Get
1372s # Calling org.freedesktop.DBus.Properties.Set
1372s # Calling org.freedesktop.DBus.Properties.GetAll
1372s # Calling org.example.Foo.WrongReturnType
1372s # Calling org.example.Foo.GetFDs
1372s # Calling org.example.Foo.GetFDs
1372s # Calling org.example.Foo.ReturnError
1372s # Calling org.example.Foo.CloseBeforeReturning
1372s ok 1 /gdbus/method-invocation/return
1372s # End of method-invocation tests
1372s # End of gdbus tests
1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1372s ok - glib/gdbus-method-invocation.test
1372s # Running test: glib/inet-address.test
1372s TAP version 14
1372s # random seed: R02S18cdb739e10c90f395772494bf88b1cb
1372s 1..11
1372s # Start of inet-address tests
1372s ok 1 /inet-address/parse
1372s ok 2 /inet-address/any
1372s ok 3 /inet-address/loopback
1372s ok 4 /inet-address/bytes
1372s ok 5 /inet-address/property
1372s # End of inet-address tests
1372s # Start of socket-address tests
1372s ok 6 /socket-address/basic
1372s ok 7 /socket-address/to-string
1372s # End of socket-address tests
1372s # Start of address-mask tests
1372s ok 8 /address-mask/parse
1372s ok 9 /address-mask/property
1372s ok 10 /address-mask/equal
1372s ok 11 /address-mask/match
1372s # End of address-mask tests
1372s ok - glib/inet-address.test
1372s # Running test: glib/gdbus-names.test
1373s TAP version 14
1373s # random seed: R02S84714d73e82fd19fffd61c220ae20b2d
1373s 1..10
1373s # Start of gdbus tests
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/validate-names/.dirs/runtime
1373s ok 1 /gdbus/validate-names
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-own-name/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 2 /gdbus/bus-own-name
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 3 /gdbus/bus-watch-name
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 4 /gdbus/bus-watch-name-auto-start
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s dbus-daemon[8004]: [session uid=1000 pid=8004 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=7995 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
1373s # Acquired a message bus connection
1373s dbus-daemon[8004]: [session uid=1000 pid=8004 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService'
1373s # Acquired the name org.gtk.GDBus.FakeService
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 6 /gdbus/bus-watch-name-closures
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 7 /gdbus/bus-watch-name-closures-auto-start
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-watch-different-context/.dirs/runtime
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 8 /gdbus/bus-watch-different-context
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/bus-unwatch-early/.dirs/runtime
1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1373s ok 9 /gdbus/bus-unwatch-early
1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/home
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/cache
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/system-config2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/config
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/system-data2
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/data
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/state
1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_CDAA22/gdbus/escape-object-path/.dirs/runtime
1373s ok 10 /gdbus/escape-object-path
1373s # End of gdbus tests
1373s ok - glib/gdbus-names.test
1373s # Running test: glib/strvbuilder.test
1373s TAP version 14
1373s # random seed: R02S84fdd2a0b4886b0df9ca95c14ad62c5e
1373s 1..7
1373s # Start of strvbuilder tests
1373s ok 1 /strvbuilder/empty
1373s ok 2 /strvbuilder/add
1373s ok 3 /strvbuilder/addv
1373s ok 4 /strvbuilder/add_many
1373s ok 5 /strvbuilder/take
1373s ok 6 /strvbuilder/ref
1373s ok 7 /strvbuilder/unref_to_strv
1373s # End of strvbuilder tests
1373s ok - glib/strvbuilder.test
1373s # Running test: glib/performance-threaded.test
1373s Running test "liststore-is-a"
1373s # Executing: glib/performance-threaded.test
1374s 1934 runs, min/avg/max = 0.438/0.517/0.912 ms
1374s Running test "liststore-interface-peek"
1375s 2565 runs, min/avg/max = 0.348/0.390/2.275 ms
1375s Running test "liststore-interface-peek-same"
1376s 2624 runs, min/avg/max = 0.348/0.381/0.772 ms
1376s ok - glib/performance-threaded.test
1376s # Running test: glib/basic-signals.test
1376s TAP version 14
1376s # random seed: R02Sdd9b6238d5b5a69c02c19a3894cb35ef
1376s 1..1
1376s # Start of gobject tests
1376s ok 1 /gobject/basic-signals
1376s # End of gobject tests
1376s ok - glib/basic-signals.test
1376s # Running test: glib/tls-certificate.test
1376s TAP version 14
1376s # random seed: R02Scd5fbddfd4a3123872a4348f7a9de881
1376s 1..19
1376s # Start of tls-certificate tests
1376s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1376s ok 1 /tls-certificate/pem-parser
1376s ok 2 /tls-certificate/pem-parser-handles-chain
1376s ok 3 /tls-certificate/from_file
1376s ok 4 /tls-certificate/from_files
1376s ok 5 /tls-certificate/from_files_crlf
1376s ok 6 /tls-certificate/from_files_pkcs8
1376s ok 7 /tls-certificate/from_files_pkcs8enc
1376s ok 8 /tls-certificate/list_from_file
1376s ok 9 /tls-certificate/pkcs11-uri
1376s ok 10 /tls-certificate/pkcs11-uri-unsupported
1376s ok 11 /tls-certificate/from_pkcs12
1376s ok 12 /tls-certificate/from_pkcs12_file
1376s ok 13 /tls-certificate/not-valid-before
1376s ok 14 /tls-certificate/not-valid-after
1376s ok 15 /tls-certificate/subject-name
1376s ok 16 /tls-certificate/issuer-name
1376s ok 17 /tls-certificate/dns-names
1376s ok 18 /tls-certificate/ip-addresses
1376s ok 19 /tls-certificate/pem-parser-no-sentinel
1376s # End of tls-certificate tests
1376s ok - glib/tls-certificate.test
1376s # Running test: glib/gdbus-test-codegen-old.test
1376s TAP version 14
1376s # random seed: R02Se228ba9fe8e2c3c70e9a47657dbed73b
1376s 1..8
1376s # Start of gdbus tests
1376s # Start of codegen tests
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/annotations/.dirs/runtime
1376s ok 1 /gdbus/codegen/annotations
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/interface_stability/.dirs/runtime
1376s ok 2 /gdbus/codegen/interface_stability
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/object-manager/.dirs/runtime
1376s ok 3 /gdbus/codegen/object-manager
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/property-naming/.dirs/runtime
1376s ok 4 /gdbus/codegen/property-naming
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/autocleanups/.dirs/runtime
1376s ok 5 /gdbus/codegen/autocleanups
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/deprecations/.dirs/runtime
1376s ok 6 /gdbus/codegen/deprecations
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/standalone-interface-info/.dirs/runtime
1376s ok 7 /gdbus/codegen/standalone-interface-info
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KPEB22/gdbus/codegen/unix-fd-list/.dirs/runtime
1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1376s ok 8 /gdbus/codegen/unix-fd-list
1376s # End of codegen tests
1376s # End of gdbus tests
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 - glib/gdbus-test-codegen-old.test
1376s # Running test: glib/filter-streams.test
1376s TAP version 14
1376s # random seed: R02S1acaa55abd4bebe3d8fd28aeb523b580
1376s 1..4
1376s # Start of filter-stream tests
1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
1376s ok 1 /filter-stream/input
1376s ok 2 /filter-stream/output
1376s ok 3 /filter-stream/async-input
1376s ok 4 /filter-stream/async-output
1376s # End of filter-stream tests
1376s ok - glib/filter-streams.test
1376s # Running test: glib/testing-nonfatal.test
1376s TAP version 14
1376s # random seed: R02S20dea960194e37f1a94308e21eea5f48
1376s **
1376s 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?")
1376s # 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?")
1376s ok - glib/testing-nonfatal.test
1376s # Running test: glib/singleton.test
1376s TAP version 14
1376s # random seed: R02Sb2a8b836b1b37d47de1ca3230cdbca77
1376s 1..2
1376s # Start of gobject tests
1376s # Start of singleton tests
1376s ok 1 /gobject/singleton/construction
1376s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
1376s ok 2 /gobject/singleton/construct-property
1376s # End of singleton tests
1376s # End of gobject tests
1376s ok - glib/singleton.test
1376s # Running test: glib/struct-info.test
1376s TAP version 14
1376s # random seed: R02Sbc97183a7b15dfc01ffd832e08798de9
1376s 1..4
1376s # Start of struct-info tests
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_R2LF22/struct-info/field-iterators/.dirs/runtime
1376s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1376s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
1376s ok 1 /struct-info/field-iterators
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_R2LF22/struct-info/sizeof-gvalue/.dirs/runtime
1376s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1376s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
1376s ok 2 /struct-info/sizeof-gvalue
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_R2LF22/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
1376s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1376s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
1376s ok 3 /struct-info/is-pointer-for-struct-method-arg
1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/home
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/cache
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/system-config2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/config
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/system-data2
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/data
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/state
1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_R2LF22/struct-info/boxed/.dirs/runtime
1376s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1376s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
1376s ok 4 /struct-info/boxed
1376s # End of struct-info tests
1376s ok - glib/struct-info.test
1376s # Running test: glib/proxy-test.test
1376s TAP version 14
1376s # random seed: R02Sbc2709cea9b1785917541b150480c8e1
1376s 1..11
1376s # Start of proxy tests
1376s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver?
1376s ok 1 /proxy/direct_sync
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f02b0 and GSocketClientAsyncConnectData 0xc9d571e5cf0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f0cc0 for GSocketClientAsyncConnectData 0xc9d571e5cf0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s ok 2 /proxy/direct_async
1376s ok 3 /proxy/single_sync
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f2510 and GSocketClientAsyncConnectData 0xc9d571f1640
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f2fd0 for GSocketClientAsyncConnectData 0xc9d571f1640
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s ok 4 /proxy/single_async
1376s ok 5 /proxy/multiple_sync
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f2fd0 and GSocketClientAsyncConnectData 0xc9d571f2b70
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f3a10 for GSocketClientAsyncConnectData 0xc9d571f2b70
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f32c0 for GSocketClientAsyncConnectData 0xc9d571f2b70
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s ok 6 /proxy/multiple_async
1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
1376s ok 7 /proxy/invalid-uris-sync
1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f3190 and GSocketClientAsyncConnectData 0xc9d571f3250
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f2fd0 and GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f25a0 and GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f1520 for GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f35a0 and GSocketClientAsyncConnectData 0xc9d571f30a0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f3bb0 for GSocketClientAsyncConnectData 0xc9d571f30a0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s ok 8 /proxy/invalid-uris-async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f35a0 and GSocketClientAsyncConnectData 0xc9d571f2660
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
1376s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f35a0 and GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f2b80 for GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f2630 and GSocketClientAsyncConnectData 0xc9d571f3f20
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f31c0 for GSocketClientAsyncConnectData 0xc9d571f3f20
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s ok 9 /proxy/dns
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f3190 and GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f3f50 for GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f4020 and GSocketClientAsyncConnectData 0xc9d571f3ad0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f3f60 for GSocketClientAsyncConnectData 0xc9d571f3ad0
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1376s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
1376s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9d571f3df0 and GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1376s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9d571f3190 for GSocketClientAsyncConnectData 0xc9d571f2980
1376s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1376s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1376s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
1376s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1376s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
1376s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
1376s ok 10 /proxy/override
1376s ok 11 /proxy/enumerator-ports
1376s # End of proxy tests
1376s ok - glib/proxy-test.test
1376s # Running test: glib/markup-escape.test
1376s TAP version 14
1376s # random seed: R02Sfcedfae008a97a8e3b1c7ebad465db6c
1376s 1..41
1376s # Start of markup tests
1376s ok 1 /markup/format
1376s # Start of escape-text tests
1376s ok 2 /markup/escape-text/0
1376s ok 3 /markup/escape-text/1
1376s ok 4 /markup/escape-text/2
1376s ok 5 /markup/escape-text/3
1376s ok 6 /markup/escape-text/4
1376s ok 7 /markup/escape-text/5
1376s ok 8 /markup/escape-text/6
1376s ok 9 /markup/escape-text/7
1376s ok 10 /markup/escape-text/8
1376s ok 11 /markup/escape-text/9
1376s ok 12 /markup/escape-text/10
1376s ok 13 /markup/escape-text/11
1376s ok 14 /markup/escape-text/12
1376s ok 15 /markup/escape-text/13
1376s ok 16 /markup/escape-text/14
1376s ok 17 /markup/escape-text/15
1376s ok 18 /markup/escape-text/16
1376s ok 19 /markup/escape-text/17
1376s ok 20 /markup/escape-text/18
1376s ok 21 /markup/escape-text/19
1376s ok 22 /markup/escape-text/20
1376s ok 23 /markup/escape-text/21
1376s ok 24 /markup/escape-text/22
1376s # End of escape-text tests
1376s # Start of escape-unichar tests
1376s ok 25 /markup/escape-unichar/0
1376s ok 26 /markup/escape-unichar/1
1376s ok 27 /markup/escape-unichar/2
1376s ok 28 /markup/escape-unichar/3
1376s ok 29 /markup/escape-unichar/4
1376s ok 30 /markup/escape-unichar/5
1376s ok 31 /markup/escape-unichar/6
1376s ok 32 /markup/escape-unichar/7
1376s ok 33 /markup/escape-unichar/8
1376s ok 34 /markup/escape-unichar/9
1376s ok 35 /markup/escape-unichar/10
1376s ok 36 /markup/escape-unichar/11
1376s ok 37 /markup/escape-unichar/12
1376s ok 38 /markup/escape-unichar/13
1376s ok 39 /markup/escape-unichar/14
1376s ok 40 /markup/escape-unichar/15
1376s ok 41 /markup/escape-unichar/16
1376s # End of escape-unichar tests
1376s # End of markup tests
1376s ok - glib/markup-escape.test
1376s # Running test: glib/cxx-98.test
1376s TAP version 14
1376s # random seed: R02S97d3e8ecebd7ca52bd91fc6b6f978476
1376s 1..2
1376s # Start of gtask tests
1376s # 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.
1376s ok 1 /gtask/name
1376s # Start of name tests
1376s # 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.
1376s ok 2 /gtask/name/macro-wrapper
1376s # End of name tests
1376s # End of gtask tests
1376s ok - glib/cxx-98.test
1376s # Running test: glib/debugcontroller.test
1376s TAP version 14
1376s # random seed: R02S9c35c2d40debcf4f4e2cd9f5142f6cef
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 ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
1376s # End of dbus tests
1376s # End of debug-controller tests
1376s ok - glib/debugcontroller.test
1376s # Running test: glib/dynamictests.test
1376s TAP version 14
1376s # random seed: R02Sb529079fc4de8fe21e967efce74c3e69
1376s 1..2
1376s # Start of GObject tests
1376s ok 1 /GObject/threaded-dynamic-ref-unref-init
1376s ok 2 /GObject/dynamic-interface-properties
1376s # End of GObject tests
1376s ok - glib/dynamictests.test
1376s # Running test: glib/properties-refcount1.test
1376s TAP version 14
1376s # random seed: R02Sf88454bbd69bb3e32ef777fab9c552e4
1376s 1..1
1376s # Start of gobject tests
1376s # Start of refcount tests
1376s # .d
1376s # .c
1376s # .f
1376s # .b
1376s # .e
1376s # .d
1376s # .c
1376s # .b
1376s # .f
1376s # .e
1376s # .d
1376s # .c
1376s # .f
1376s # .b
1376s # .e
1376s # .d
1376s # .f
1376s # .c
1376s # .b
1376s # .e
1376s # .d
1376s # .f
1376s # .c
1376s # .b
1377s # .e
1377s # .d
1377s # .b
1377s # .f
1377s # .c
1377s # .e
1377s # .d
1377s # .b
1377s # .f
1377s # .c
1377s # .e
1377s # .d
1377s # .b
1377s # .f
1377s # .e
1377s # .d
1377s # .c
1377s # .b
1377s # .f
1377s # .d
1377s # .e
1377s # .c
1377s # .b
1377s # .f
1377s # .d
1377s # .c
1377s # .b
1377s # .f
1377s # .e
1377s # .d
1377s # .c
1378s # .f
1378s # .b
1378s # .e
1378s # .c
1378s # .d
1378s # .f
1378s # .b
1378s # .e
1378s # .d
1378s # .c
1378s # .f
1378s # .b
1378s # .e
1378s # .c
1378s # .d
1378s # .f
1378s # .b
1378s # .e
1378s # .c
1378s # .d
1378s # .f
1378s # .b
1378s # .e
1378s # .c
1378s # .d
1378s # .f
1378s # .b
1378s # .c
1378s # .e
1378s # .f
1378s # Executing: glib/properties-refcount1.test
1378s # .d
1378s # .c
1378s # .b
1378s # .f
1379s # .e
1379s # .d
1379s # .f
1379s # .c
1379s # .b
1379s # .e
1379s # .d
1379s ok 1 /gobject/refcount/properties-1
1379s # slow test /gobject/refcount/properties-1 executed in 3.01 secs
1379s # End of refcount tests
1379s # End of gobject tests
1379s ok - glib/properties-refcount1.test
1379s # Running test: glib/gvariant.test
1379s TAP version 14
1379s # random seed: R02Sa327c1db1faa898ccc32ab2832a56357
1379s 1..68
1379s # Start of gvariant tests
1379s ok 1 /gvariant/type
1379s ok 2 /gvariant/typeinfo
1379s ok 3 /gvariant/string
1379s ok 4 /gvariant/utf8
1379s ok 5 /gvariant/utf8-new-strings
1380s ok 6 /gvariant/containers
1380s # slow test /gvariant/containers executed in 0.73 secs
1380s ok 7 /gvariant/format-strings
1380s ok 8 /gvariant/invalid-varargs
1380s ok 9 /gvariant/varargs
1380s ok 10 /gvariant/valist
1380s ok 11 /gvariant/builder-memory
1380s ok 12 /gvariant/hashing
1380s ok 13 /gvariant/byteswap
1381s ok 14 /gvariant/parser
1381s # slow test /gvariant/parser executed in 0.78 secs
1381s ok 15 /gvariant/parse-failures
1381s ok 16 /gvariant/parse-positional
1381s ok 17 /gvariant/floating
1381s ok 18 /gvariant/bytestring
1381s ok 19 /gvariant/lookup-value
1381s ok 20 /gvariant/lookup
1381s ok 21 /gvariant/compare
1381s ok 22 /gvariant/equal
1381s ok 23 /gvariant/fixed-array
1381s ok 24 /gvariant/check-format-string
1381s ok 25 /gvariant/checksum-basic
1381s ok 26 /gvariant/checksum-nested
1381s ok 27 /gvariant/gbytes
1381s ok 28 /gvariant/print-context
1381s ok 29 /gvariant/error-quark
1381s ok 30 /gvariant/stack-builder-init
1381s ok 31 /gvariant/stack-builder-init-static
1381s ok 32 /gvariant/stack-builder-init-unset
1381s ok 33 /gvariant/stack-dict-init
1381s ok 34 /gvariant/unaligned-construction
1381s # Start of type tests
1381s # Start of string-scan tests
1381s # Start of recursion tests
1381s ok 35 /gvariant/type/string-scan/recursion/tuple
1381s ok 36 /gvariant/type/string-scan/recursion/array
1381s # End of recursion tests
1381s # End of string-scan tests
1381s # End of type tests
1381s # Start of serialiser tests
1381s ok 37 /gvariant/serialiser/maybe
1381s ok 38 /gvariant/serialiser/array
1381s ok 39 /gvariant/serialiser/tuple
1381s ok 40 /gvariant/serialiser/variant
1381s ok 41 /gvariant/serialiser/strings
1382s ok 42 /gvariant/serialiser/byteswap
1382s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
1382s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
1382s ok 43 /gvariant/serialiser/children
1382s # Start of fuzz tests
1382s ok 44 /gvariant/serialiser/fuzz/1%
1383s ok 45 /gvariant/serialiser/fuzz/5%
1383s # slow test /gvariant/serialiser/fuzz/5% executed in 1.07 secs
1383s # Executing: glib/gvariant.test
1384s ok 46 /gvariant/serialiser/fuzz/9%
1384s # slow test /gvariant/serialiser/fuzz/9% executed in 1.09 secs
1384s ok 47 /gvariant/serialiser/fuzz/13%
1385s ok 48 /gvariant/serialiser/fuzz/17%
1385s # slow test /gvariant/serialiser/fuzz/17% executed in 0.71 secs
1385s # End of fuzz tests
1385s # End of serialiser tests
1385s # Start of utf8 tests
1385s # Start of subprocess tests
1385s # End of subprocess tests
1385s # End of utf8 tests
1385s # Start of varargs tests
1385s # Start of subprocess tests
1385s # End of subprocess tests
1385s # End of varargs tests
1385s # Start of byteswap tests
1385s # /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.
1385s ok 49 /gvariant/byteswap/non-normal-non-aligned
1385s # End of byteswap tests
1385s # Start of parser tests
1385s ok 50 /gvariant/parser/integer-bounds
1385s ok 51 /gvariant/parser/recursion
1385s # Start of recursion tests
1385s ok 52 /gvariant/parser/recursion/typedecls
1385s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
1385s # Text form 0: @mmmu 5
1385s # Text form 1: @mmmas ['hello']
1385s # Text form 2: @mmmu just just nothing
1385s # Text form 3: @mmmas just just nothing
1385s # Text form 4: @mmmu just nothing
1385s # Text form 5: @mmmas just nothing
1385s # Text form 6: @mmmu nothing
1385s # Text form 7: @mmmas nothing
1385s ok 53 /gvariant/parser/recursion/maybes
1385s # End of recursion tests
1385s # End of parser tests
1385s # Start of parse tests
1385s # Start of subprocess tests
1385s # End of subprocess tests
1385s # End of parse tests
1385s # Start of normal-checking tests
1385s ok 54 /gvariant/normal-checking/tuples
1385s ok 55 /gvariant/normal-checking/array-offsets
1385s ok 56 /gvariant/normal-checking/array-offsets2
1385s ok 57 /gvariant/normal-checking/tuple-offsets
1385s ok 58 /gvariant/normal-checking/tuple-offsets2
1385s ok 59 /gvariant/normal-checking/tuple-offsets3
1385s ok 60 /gvariant/normal-checking/tuple-offsets4
1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
1385s ok 61 /gvariant/normal-checking/tuple-offsets5
1385s ok 62 /gvariant/normal-checking/empty-object-path
1385s # Start of array-offsets tests
1385s ok 63 /gvariant/normal-checking/array-offsets/overlapped
1385s ok 64 /gvariant/normal-checking/array-offsets/minimal-sized
1385s # End of array-offsets tests
1385s # Start of tuple-offsets tests
1385s ok 65 /gvariant/normal-checking/tuple-offsets/minimal-sized
1385s # End of tuple-offsets tests
1385s # End of normal-checking tests
1385s # Start of recursion-limits tests
1385s ok 66 /gvariant/recursion-limits/variant-in-variant
1385s ok 67 /gvariant/recursion-limits/array-in-variant
1385s # End of recursion-limits tests
1385s # End of gvariant tests
1385s # Start of gvarianttype tests
1385s ok 68 /gvarianttype/hash
1385s # End of gvarianttype tests
1385s ok - glib/gvariant.test
1385s # Running test: glib/permission.test
1385s TAP version 14
1385s # random seed: R02Sb9ac2c7c4de826d73d460c2106842fa4
1385s 1..1
1385s # Start of permission tests
1385s ok 1 /permission/simple
1385s # End of permission tests
1385s ok - glib/permission.test
1385s # Running test: glib/stream-rw_all.test
1385s TAP version 14
1385s # random seed: R02Se3b7c3d153bfdc89baacd2ea8b43277d
1385s 1..3
1385s # Start of stream tests
1385s # Start of read_all_async tests
1385s ok 1 /stream/read_all_async/memory
1385s # End of read_all_async tests
1385s # Start of write_all_async tests
1385s ok 2 /stream/write_all_async/memory
1385s # End of write_all_async tests
1385s # Start of read_write_all_async tests
1385s ok 3 /stream/read_write_all_async/pipe
1385s # End of read_write_all_async tests
1385s # End of stream tests
1385s ok - glib/stream-rw_all.test
1385s # Running test: glib/io-channel.test
1385s TAP version 14
1385s # random seed: R02S05218f56d2b788272925b0b773019a39
1385s 1..2
1385s # Start of io-channel tests
1385s # Line one
1385s #
1385s # Line two
1385s #
1385s # Line three
1385s #
1385s # /* Hello */
1385s #
1385s # \x1234\x567890\x6666
1385s #
1385s # read 62 bytes, wrote 62 bytes
1385s ok 1 /io-channel/read-write
1385s # Start of read-line tests
1385s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
1385s ok 2 /io-channel/read-line/embedded-nuls
1385s # End of read-line tests
1385s # End of io-channel tests
1385s ok - glib/io-channel.test
1385s # Running test: glib/simple-proxy.test
1385s TAP version 14
1385s # random seed: R02S82de9d662a0e107c149cd1b77964dac0
1385s 1..3
1385s # Start of static-proxy tests
1385s ok 1 /static-proxy/uri
1385s ok 2 /static-proxy/socks
1385s ok 3 /static-proxy/ignore
1385s # End of static-proxy tests
1385s ok - glib/simple-proxy.test
1385s # Running test: glib/gio-tool.py.test
1385s TAP version 13
1385s ok 1 __main__.TestGioTool.test_help
1385s # gio: /usr/bin/gio
1385s # tmpdir: /tmp/tmprv_t1woi
1385s # Running: ['/usr/bin/gio', '--help']
1385s # Return code: 0
1385s # Output:
1385s # Usage:
1385s # gio COMMAND [ARGS…]
1385s #
1385s # Commands:
1385s # help Print help
1385s # version Print version
1385s # cat Concatenate files to standard output
1385s # copy Copy one or more files
1385s # info Show information about locations
1385s # launch Launch an application from a desktop file
1385s # list List the contents of locations
1385s # mime Get or set the handler for a mimetype
1385s # mkdir Create directories
1385s # monitor Monitor files and directories for changes
1385s # mount Mount or unmount the locations
1385s # move Move one or more files
1385s # open Open files with the default application
1385s # rename Rename a file
1385s # remove Delete one or more files
1385s # save Read from standard input and save
1385s # set Set a file attribute
1385s # trash Move files or directories to the trash
1385s # tree Lists the contents of locations in a tree
1385s #
1385s # Use “gio help COMMAND†to get detailed help.
1385s # Error:
1385s #
1385s # Running: ['/usr/bin/gio', 'help']
1385s # Return code: 0
1385s # Output:
1385s # Usage:
1385s # gio COMMAND [ARGS…]
1385s #
1385s # Commands:
1385s # help Print help
1385s # version Print version
1385s # cat Concatenate files to standard output
1385s # copy Copy one or more files
1385s # info Show information about locations
1385s # launch Launch an application from a desktop file
1385s # list List the contents of locations
1385s # mime Get or set the handler for a mimetype
1385s # mkdir Create directories
1385s # monitor Monitor files and directories for changes
1385s # mount Mount or unmount the locations
1385s # move Move one or more files
1385s # open Open files with the default application
1385s # rename Rename a file
1385s # remove Delete one or more files
1385s # save Read from standard input and save
1385s # set Set a file attribute
1385s # trash Move files or directories to the trash
1385s # tree Lists the contents of locations in a tree
1385s #
1385s # Use “gio help COMMAND†to get detailed help.
1385s # Error:
1385s ok 2 __main__.TestGioTool.test_info_non_default_attributes
1385s # gio: /usr/bin/gio
1385s # tmpdir: /tmp/tmpmtmid13f
1385s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpmtmid13f/tmpc4j6y2sz']
1385s # Return code: 0
1385s # Output:
1385s # uri: file:///tmp/tmpmtmid13f/tmpc4j6y2sz
1385s # local path: /tmp/tmpmtmid13f/tmpc4j6y2sz
1385s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30
1385s # attributes:
1385s # standard::content-type: application/x-zerosize
1385s # Error:
1385s ok 3 __main__.TestGioTool.test_no_args
1385s # gio: /usr/bin/gio
1385s # tmpdir: /tmp/tmpae4k75vv
1385s # Running: ['/usr/bin/gio']
1385s # Return code: 1
1385s # Output:
1385s #
1385s # Error:
1385s # Usage:
1385s # gio COMMAND [ARGS…]
1385s #
1385s # Commands:
1385s # help Print help
1385s # version Print version
1385s # cat Concatenate files to standard output
1385s # copy Copy one or more files
1385s # info Show information about locations
1385s # launch Launch an application from a desktop file
1385s # list List the contents of locations
1385s # mime Get or set the handler for a mimetype
1385s # mkdir Create directories
1385s # monitor Monitor files and directories for changes
1385s # mount Mount or unmount the locations
1385s # move Move one or more files
1385s # open Open files with the default application
1385s # rename Rename a file
1385s # remove Delete one or more files
1385s # save Read from standard input and save
1385s # set Set a file attribute
1385s # trash Move files or directories to the trash
1385s # tree Lists the contents of locations in a tree
1385s #
1385s # Use “gio help COMMAND†to get detailed help.
1385s 1..3
1385s ok - glib/gio-tool.py.test
1385s # Running test: glib/power-profile-monitor.test
1385s TAP version 14
1385s # random seed: R02S8094f2badefc37b0994f7ba8424910b3
1385s 1..1
1385s # Start of power-profile-monitor tests
1385s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
1385s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
1385s ok 1 /power-profile-monitor/default
1385s # End of power-profile-monitor tests
1385s ok - glib/power-profile-monitor.test
1385s # Running test: glib/macros-c-89.test
1385s TAP version 14
1385s # random seed: R02S0c13bbc226219bb2eef3854161264689
1385s 1..4
1385s # Start of C tests
1385s ok 1 /C/standard-89
1385s # End of C tests
1385s # Start of alignof tests
1385s ok 2 /alignof/fallback
1385s # End of alignof tests
1385s # Start of assert tests
1385s ok 3 /assert/static
1385s # End of assert tests
1385s # Start of struct tests
1385s ok 4 /struct/sizeof_member
1385s # End of struct tests
1385s ok - glib/macros-c-89.test
1385s # Running test: glib/gdbus-bz627724.test
1385s TAP version 14
1385s # random seed: R02Sf13c93fc389d0902f8c5d95f645af44a
1385s 1..1
1385s # Start of gdbus tests
1385s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/home
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/cache
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/system-config2
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/config
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/system-data2
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/data
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/state
1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_LSW712/gdbus/bz627724/.dirs/runtime
1385s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1385s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1385s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1385s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1385s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1385s ok 1 /gdbus/bz627724
1385s # End of gdbus tests
1385s ok - glib/gdbus-bz627724.test
1385s # Running test: glib/objects-refcount1.test
1385s TAP version 14
1385s # random seed: R02Se3cc33235354b7a23a48ee98e6a0f66f
1385s 1..1
1385s # Start of gobject tests
1385s # Start of refcount tests
1385s # init 0x4f9be6be440
1385s #
1385s # init 0x4f9be6be5d0
1385s #
1388s # Executing: glib/objects-refcount1.test
1390s # dispose 0x4f9be6be440!
1390s #
1390s # dispose 0x4f9be6be5d0!
1390s #
1390s ok 1 /gobject/refcount/object-basics
1390s # slow test /gobject/refcount/object-basics executed in 5.00 secs
1390s # End of refcount tests
1390s # End of gobject tests
1390s ok - glib/objects-refcount1.test
1390s # Running test: glib/g-file-info.test
1390s TAP version 14
1390s # random seed: R02S2a2360896021f6a1e1d4c14c6b4d5389
1390s 1..6
1390s # Start of g-file-info tests
1390s ok 1 /g-file-info/test_g_file_info
1390s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
1390s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1390s ok 2 /g-file-info/xattrs
1390s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
1390s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
1390s ok 3 /g-file-info/set-modified-date-time-precision
1390s # Start of test_g_file_info tests
1390s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
1390s ok 4 /g-file-info/test_g_file_info/modification-time
1390s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
1390s ok 5 /g-file-info/test_g_file_info/access-time
1390s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
1390s ok 6 /g-file-info/test_g_file_info/creation-time
1390s # End of test_g_file_info tests
1390s # End of g-file-info tests
1390s ok - glib/g-file-info.test
1390s # Running test: glib/cxx.test
1390s TAP version 14
1390s # random seed: R02S3e4bf2837ffe0f6f5f27f9fc61a9bfda
1390s 1..2
1390s # Start of gtask tests
1390s # 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.
1390s ok 1 /gtask/name
1390s # Start of name tests
1390s # 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.
1390s ok 2 /gtask/name/macro-wrapper
1390s # End of name tests
1390s # End of gtask tests
1390s ok - glib/cxx.test
1390s # Running test: glib/sleepy-stream.test
1390s TAP version 14
1390s # random seed: R02Sd991378179f78dcd021f4b416c5e5f3a
1390s 1..2
1390s # Start of filter-stream tests
1390s ok 1 /filter-stream/input
1390s ok 2 /filter-stream/async
1390s # End of filter-stream tests
1390s ok - glib/sleepy-stream.test
1390s # Running test: glib/threadtests.test
1390s TAP version 14
1390s # random seed: R02Sf8fdaf1cfeda5366b37c8bc22756643b
1390s 1..5
1390s # Start of GObject tests
1390s ok 1 /GObject/threaded-object-init
1392s ok 2 /GObject/threaded-weak-ref
1392s # slow test /GObject/threaded-weak-ref executed in 1.07 secs
1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
1392s # /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
1392s ok 3 /GObject/threaded-toggle-notify
1392s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1392s # Start of threaded-weak-ref tests
1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1392s # /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.
1392s ok 5 /GObject/threaded-weak-ref/on-finalization
1392s # End of threaded-weak-ref tests
1392s # End of GObject tests
1392s ok - glib/threadtests.test
1392s # Running test: glib/markup.test
1392s TAP version 14
1392s # random seed: R02S89bd73e739553aa40219caf3180c16d4
1392s 1..1
1392s # Start of markup tests
1392s ok 1 /markup/stack
1392s # End of markup tests
1392s ok - glib/markup.test
1392s # Running test: glib/bindinggroup.test
1392s TAP version 14
1392s # random seed: R02S734ca9cdbef3c9275797144b82d425b8
1392s 1..11
1392s # Start of GObject tests
1392s # Start of BindingGroup tests
1392s ok 1 /GObject/BindingGroup/invalid
1392s ok 2 /GObject/BindingGroup/default
1392s ok 3 /GObject/BindingGroup/bidirectional
1392s ok 4 /GObject/BindingGroup/transform
1392s ok 5 /GObject/BindingGroup/transform-closures
1392s ok 6 /GObject/BindingGroup/same-object
1392s ok 7 /GObject/BindingGroup/weak-ref-source
1392s ok 8 /GObject/BindingGroup/weak-ref-target
1392s ok 9 /GObject/BindingGroup/properties
1392s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
1392s ok 11 /GObject/BindingGroup/empty-closures
1392s # End of BindingGroup tests
1392s # End of GObject tests
1392s ok - glib/bindinggroup.test
1392s # Running test: glib/spawn-multithreaded.test
1392s TAP version 14
1392s # random seed: R02Se8c0df0b6ea04151e864b0df05ee70b5
1392s 1..4
1392s # Start of gthread tests
1393s # Child 13256 (ttl 1) exited, status 0
1393s # Executing: glib/spawn-multithreaded.test
1394s # Child 13257 (ttl 2) exited, status 0
1394s ok 1 /gthread/spawn-childs
1394s # slow test /gthread/spawn-childs executed in 2.00 secs
1394s # Created pid: 13261 (ttl 1)
1394s # Created pid: 13262 (ttl 2)
1395s # Child 13261 (ttl 1) exited, status 0
1396s # Child 13262 (ttl 2) exited, status 0
1396s ok 2 /gthread/spawn-childs-threads
1396s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
1396s ok 3 /gthread/spawn-sync
1396s ok 4 /gthread/spawn-async
1396s # End of gthread tests
1396s ok - glib/spawn-multithreaded.test
1396s # Running test: glib/utils.test
1396s TAP version 14
1396s # random seed: R02Sf778a3213b4779e207fc6ad17627aaa8
1396s 1..41
1396s # Start of utils tests
1396s ok 1 /utils/language-names
1396s ok 2 /utils/locale-variants
1396s ok 3 /utils/version
1396s ok 4 /utils/appname
1396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1396s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1396s ok 5 /utils/prgname-thread-safety
1396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1396s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1396s ok 6 /utils/tmpdir
1396s ok 7 /utils/basic_bits
1396s ok 8 /utils/bits
1396s ok 9 /utils/swap
1396s ok 10 /utils/find-program
1396s ok 11 /utils/find-program-for-path
1396s ok 12 /utils/debug
1396s ok 13 /utils/codeset
1396s ok 14 /utils/codeset2
1396s ok 15 /utils/console-charset
1396s ok 16 /utils/gettext
1396s ok 17 /utils/username
1396s ok 18 /utils/realname
1396s ok 19 /utils/hostname
1396s ok 20 /utils/xdgdirs
1396s ok 21 /utils/specialdir
1396s # NAME: Ubuntu
1396s ok 22 /utils/os-info
1396s ok 23 /utils/clear-pointer
1396s ok 24 /utils/clear-pointer-cast
1396s ok 25 /utils/take-pointer
1396s ok 26 /utils/clear-source
1396s ok 27 /utils/misc-mem
1396s # /utils/aligned-mem summary: Aligned memory allocator
1396s # Alignment must not be zero
1396s # Alignment must be a power of two
1396s # Alignment must be a multiple of sizeof(void*)
1396s ok 28 /utils/aligned-mem
1396s # /utils/free-sized summary: Check that g_free_sized() works
1396s ok 29 /utils/free-sized
1396s ok 30 /utils/nullify
1396s ok 31 /utils/atexit
1396s ok 32 /utils/check-setuid
1396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1396s ok 33 /utils/int-limits
1396s ok 34 /utils/clear-list
1396s ok 35 /utils/clear-slist
1396s ok 36 /utils/steal-handle-id
1396s # Start of specialdir tests
1396s ok 37 /utils/specialdir/desktop
1396s # End of specialdir tests
1396s # Start of clear-pointer tests
1396s ok 38 /utils/clear-pointer/side-effects
1396s # End of clear-pointer tests
1396s # Start of aligned-mem tests
1396s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1396s ok 39 /utils/aligned-mem/alignment
1396s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1396s ok 40 /utils/aligned-mem/zeroed
1396s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1396s ok 41 /utils/aligned-mem/free-sized
1396s # Start of subprocess tests
1396s # End of subprocess tests
1396s # End of aligned-mem tests
1396s # End of utils tests
1396s ok - glib/utils.test
1396s # Running test: glib/references.test
1396s TAP version 14
1396s # random seed: R02S28e40fd785b85d270da934b9c2c46c8d
1396s 1..1
1396s # Start of gobject tests
1396s ok 1 /gobject/references
1396s # End of gobject tests
1396s ok - glib/references.test
1396s # Running test: glib/memory-settings-backend.test
1396s TAP version 14
1396s # random seed: R02S65920089d9b9d5c939e4134ce612162d
1396s 1..1
1396s # Start of memory-settings-backend tests
1396s ok 1 /memory-settings-backend/extension-point-registered
1396s # End of memory-settings-backend tests
1396s ok - glib/memory-settings-backend.test
1396s # Running test: glib/contexts.test
1396s TAP version 14
1396s # random seed: R02Sa7ef60d7dabf8d830c774785c2b742be
1396s 1..5
1396s # Start of gio tests
1396s # Start of contexts tests
1396s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1396s ok 1 /gio/contexts/thread-independence
1396s ok 2 /gio/contexts/context-independence
1396s # Start of context-specific tests
1396s ok 3 /gio/contexts/context-specific/identity
1396s ok 4 /gio/contexts/context-specific/emit
1396s ok 5 /gio/contexts/context-specific/emit-and-unref
1396s # End of context-specific tests
1396s # End of contexts tests
1396s # End of gio tests
1396s ok - glib/contexts.test
1396s # Running test: glib/rand.test
1396s TAP version 14
1396s # random seed: R02Seccf1596d8ba4afc8b7f4a5dd7b29612
1396s 1..2
1396s # Start of rand tests
1396s ok 1 /rand/test-rand
1396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
1396s ok 2 /rand/double-range
1396s # End of rand tests
1396s ok - glib/rand.test
1396s # Running test: glib/gdbus-exit-on-close.test
1396s TAP version 14
1396s # random seed: R02Sb032a786021c3658aafaddb2c5cf92dd
1396s 1..4
1396s # Start of gdbus tests
1396s # Start of exit-on-close tests
1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/home
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/cache
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/system-config2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/config
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/system-data2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/data
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/state
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/default/.dirs/runtime
1396s ok 1 /gdbus/exit-on-close/default
1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/home
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/cache
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/system-config2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/config
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/system-data2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/data
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/state
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/true/.dirs/runtime
1396s ok 2 /gdbus/exit-on-close/true
1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/home
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/cache
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/system-config2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/config
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/system-data2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/data
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/state
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/false/.dirs/runtime
1396s ok 3 /gdbus/exit-on-close/false
1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/home
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/cache
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/system-config2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/config
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/system-data2
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/data
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/state
1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZG412/gdbus/exit-on-close/we-close/.dirs/runtime
1397s ok 4 /gdbus/exit-on-close/we-close
1397s # Start of default tests
1397s # End of default tests
1397s # Start of true tests
1397s # End of true tests
1397s # Start of false tests
1397s # End of false tests
1397s # Start of we-close tests
1397s # End of we-close tests
1397s # End of exit-on-close tests
1397s # End of gdbus tests
1397s ok - glib/gdbus-exit-on-close.test
1397s # Running test: glib/dataset.test
1397s TAP version 14
1397s # random seed: R02S4a013dacf663feb99066edfa8669536e
1397s 1..14
1397s # Start of quark tests
1397s ok 1 /quark/basic
1397s ok 2 /quark/string
1397s # End of quark tests
1397s # Start of dataset tests
1397s ok 3 /dataset/basic
1397s ok 4 /dataset/id
1397s ok 5 /dataset/full
1397s ok 6 /dataset/foreach
1397s ok 7 /dataset/destroy
1397s # End of dataset tests
1397s # Start of datalist tests
1397s ok 8 /datalist/basic
1397s ok 9 /datalist/id
1397s ok 10 /datalist/recursive-clear
1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
1397s ok 11 /datalist/id-remove-multiple
1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
1397s ok 12 /datalist/id-remove-multiple-destroy-order
1397s ok 13 /datalist/update-atomic
1397s # Start of id-remove-multiple tests
1397s ok 14 /datalist/id-remove-multiple/resize
1397s # End of id-remove-multiple tests
1397s # End of datalist tests
1397s ok - glib/dataset.test
1397s # Running test: glib/protocol.test
1397s TAP version 14
1397s # random seed: R02S13141a0e114cb7ba553ab991a7c8fb5e
1397s 1..9
1397s # Start of glib tests
1397s # Start of testing tests
1397s # Start of protocol tests
1397s ok 1 /glib/testing/protocol/debug
1397s ok 2 /glib/testing/protocol/info
1397s ok 3 /glib/testing/protocol/message
1397s ok 4 /glib/testing/protocol/warning
1397s ok 5 /glib/testing/protocol/critical
1397s ok 6 /glib/testing/protocol/error
1397s ok 7 /glib/testing/protocol/gtest-message
1397s ok 8 /glib/testing/protocol/test-message
1397s ok 9 /glib/testing/protocol/test-error
1397s # End of protocol tests
1397s # End of testing tests
1397s # End of glib tests
1397s ok - glib/protocol.test
1397s # Running test: glib/notify-init2.test
1397s TAP version 14
1397s # random seed: R02S32b72937e481385bc182e828e4377b49
1397s 1..1
1397s # Start of properties tests
1397s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1397s ok 1 /properties/notify-in-init2
1397s # End of properties tests
1397s ok - glib/notify-init2.test
1397s # Running test: glib/gdbus-sasl.test
1397s TAP version 14
1397s # random seed: R02Se543da35e0826b91e039cbec387f68b5
1397s 1..1
1397s # Start of gdbus tests
1397s # Start of sasl tests
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_H2IC22/gdbus/sasl/server/.dirs/runtime
1397s # New handshake: EXTERNAL with incorrect initial response
1397s # C:“AUTH EXTERNAL 30â€
1397s # Expect: /^REJECTED.*$/
1397s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
1397s # New handshake: EXTERNAL without initial response, failing to authenticate
1397s # C:“AUTH EXTERNALâ€
1397s # Expect: /^DATA$/
1397s # S:“DATAâ€
1397s # C:“DATA 30â€
1397s # Expect: /^REJECTED.*$/
1397s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
1397s # New handshake: EXTERNAL with initial response
1397s # C:“AUTH EXTERNAL 31303030â€
1397s # Expect: /^OK [0-9a-f]+$/
1397s # S:“OK 118bc57b6d2099b2341dd99867b96373â€
1397s # New handshake: EXTERNAL without initial response
1397s # C:“AUTH EXTERNALâ€
1397s # Expect: /^DATA$/
1397s # S:“DATAâ€
1397s # C:“DATA 31303030â€
1397s # Expect: /^OK [0-9a-f]+$/
1397s # S:“OK 118bc57b6d2099b2341dd99867b96373â€
1397s # New handshake: EXTERNAL with empty authorization identity
1397s # C:“AUTH EXTERNALâ€
1397s # Expect: /^DATA$/
1397s # S:“DATAâ€
1397s # C:“DATAâ€
1397s # Expect: /^OK [0-9a-f]+$/
1397s # S:“OK 118bc57b6d2099b2341dd99867b96373â€
1397s # New handshake: EXTERNAL with empty authorization identity and whitespace
1397s # C:“AUTH EXTERNALâ€
1397s # Expect: /^DATA$/
1397s # S:“DATAâ€
1397s # C:“DATA â€
1397s # Expect: /^OK [0-9a-f]+$/
1397s # S:“OK 118bc57b6d2099b2341dd99867b96373â€
1397s ok 1 /gdbus/sasl/server
1397s # End of sasl tests
1397s # End of gdbus tests
1397s ok - glib/gdbus-sasl.test
1397s # Running test: glib/gdbus-peer.test
1397s TAP version 14
1397s # random seed: R02Sc78f18ddfc64543aab7cbaafc42a2dae
1397s 1..12
1397s # Start of gdbus tests
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/.dirs/runtime
1397s # Testing with unix:dir address
1397s # Testing with unix:tmpdir address
1397s # Testing with unix:path address
1397s ok 1 /gdbus/peer-to-peer
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/delayed-message-processing/.dirs/runtime
1397s # Testing with unix:dir address
1397s ok 2 /gdbus/delayed-message-processing
1397s # slow test /gdbus/delayed-message-processing executed in 0.51 secs
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/nonce-tcp/.dirs/runtime
1397s ok 3 /gdbus/nonce-tcp
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/tcp-anonymous/.dirs/runtime
1397s ok 4 /gdbus/tcp-anonymous
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/credentials/.dirs/runtime
1397s ok 5 /gdbus/credentials
1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/home
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/cache
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/system-config2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/config
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/system-data2
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/data
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/state
1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/codegen-peer-to-peer/.dirs/runtime
1397s # Testing with unix:dir address
1397s # Machine ID: 057571ff2a3743d5842ba9881308320a
1398s ok 6 /gdbus/codegen-peer-to-peer
1398s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs
1398s # Start of peer-to-peer tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/signals/.dirs/runtime
1398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
1398s # Testing with unix:dir address
1398s ok 7 /gdbus/peer-to-peer/signals
1398s # Start of invalid tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/server/.dirs/runtime
1398s ok 8 /gdbus/peer-to-peer/invalid/server
1398s # Start of conn tests
1398s # Start of stream tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
1398s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
1398s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
1398s # End of stream tests
1398s # Start of addr tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
1398s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_36DC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
1398s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
1398s # End of addr tests
1398s # End of conn tests
1398s # End of invalid tests
1398s # End of peer-to-peer tests
1398s # End of gdbus tests
1398s ok - glib/gdbus-peer.test
1398s # Running test: glib/object-info.test
1398s TAP version 14
1398s # random seed: R02S3d507536da8e2e52a1f1cfd8c0f46c5c
1398s 1..2
1398s # Start of object-info tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4XT212/object-info/find-method-using-interfaces/.dirs/runtime
1398s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1398s ok 1 /object-info/find-method-using-interfaces
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4XT212/object-info/find-vfunc-using-interfaces/.dirs/runtime
1398s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1398s ok 2 /object-info/find-vfunc-using-interfaces
1398s # End of object-info tests
1398s ok - glib/object-info.test
1398s # Running test: glib/pathbuf.test
1398s TAP version 14
1398s # random seed: R02S55f0ee524353577f42f448987269dcd0
1398s 1..3
1398s # Start of pathbuf tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KXM212/pathbuf/init/.dirs/runtime
1398s # Initializing empty path buf
1398s # Initializing with empty path
1398s # Initializing with full path
1398s # Initializing with no path
1398s # Allocating GPathBuf on the heap
1398s ok 1 /pathbuf/init
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KXM212/pathbuf/push-pop/.dirs/runtime
1398s # Pushing relative path component
1398s # Pushing absolute path component
1398s # Popping a path component
1398s # Can't pop the last element of a path buffer
1398s ok 2 /pathbuf/push-pop
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KXM212/pathbuf/filename-extension/.dirs/runtime
1398s ok 3 /pathbuf/filename-extension
1398s # End of pathbuf tests
1398s ok - glib/pathbuf.test
1398s # Running test: glib/memory-monitor.test
1398s TAP version 14
1398s # random seed: R02S39241407fc94b44fa2c9ac68d10ad0b8
1398s 1..1
1398s # Start of memory-monitor tests
1398s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
1398s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor?
1398s ok 1 /memory-monitor/default
1398s # End of memory-monitor tests
1398s ok - glib/memory-monitor.test
1398s # Running test: glib/gdbus-introspection.test
1398s TAP version 14
1398s # random seed: R02S3b5bbf257a9a80e738ec2d262f91816b
1398s 1..4
1398s # Start of gdbus tests
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-parser/.dirs/runtime
1398s ok 1 /gdbus/introspection-parser
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-generate/.dirs/runtime
1398s ok 2 /gdbus/introspection-generate
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-default-direction/.dirs/runtime
1398s ok 3 /gdbus/introspection-default-direction
1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/home
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/cache
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/system-config2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/config
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/system-data2
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/data
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/state
1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1FO312/gdbus/introspection-extra-data/.dirs/runtime
1398s ok 4 /gdbus/introspection-extra-data
1398s # End of gdbus tests
1398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1398s ok - glib/gdbus-introspection.test
1398s # Running test: glib/gutils-user-database.test
1398s TAP version 14
1398s # random seed: R02S775e1d9a40a3f75fa4efd70f80a2ffcf
1398s 1..1
1398s # Start of gutils tests
1398s ok 1 /gutils/get_user_database_entry
1398s # End of gutils tests
1398s ok - glib/gutils-user-database.test
1398s # Running test: glib/socket.test
1398s TAP version 14
1398s # random seed: R02Sae334f84bce4bcb5ccac8fdbec54ec03
1398s 1..28
1398s # Start of socket tests
1398s # Executing: glib/socket.test
1399s ok 1 /socket/ipv4_sync
1399s # slow test /socket/ipv4_sync executed in 1.00 secs
1400s ok 2 /socket/ipv4_async
1400s # slow test /socket/ipv4_async executed in 1.00 secs
1400s ok 3 /socket/ipv6_sync
1400s ok 4 /socket/ipv6_async
1400s ok 5 /socket/ipv6_v4mapped
1401s ok 6 /socket/close_graceful
1401s # slow test /socket/close_graceful executed in 1.00 secs
1401s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
1401s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
1401s ok 8 /socket/fd_reuse
1401s ok 9 /socket/address
1401s ok 10 /socket/unix-from-fd
1401s ok 11 /socket/unix-connection
1401s ok 12 /socket/unix-connection-ancillary-data
1401s ok 13 /socket/source-postmortem
1401s ok 14 /socket/read_write
1401s ok 15 /socket/read_writev
1401s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
1401s ok 16 /socket/receive_bytes
1401s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
1401s ok 17 /socket/receive_bytes_from
1401s # Start of ipv4_sync tests
1401s ok 18 /socket/ipv4_sync/datagram
1401s # Start of datagram tests
1402s ok 19 /socket/ipv4_sync/datagram/timeouts
1402s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
1402s # End of datagram tests
1402s # End of ipv4_sync tests
1402s # Start of ipv6_sync tests
1402s ok 20 /socket/ipv6_sync/datagram
1402s # Start of datagram tests
1403s # Executing: glib/socket.test
1404s ok 21 /socket/ipv6_sync/datagram/timeouts
1404s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
1404s # End of datagram tests
1404s # End of ipv6_sync tests
1404s # Start of reuse tests
1404s ok 22 /socket/reuse/tcp
1404s ok 23 /socket/reuse/udp
1404s # End of reuse tests
1404s # Start of get_available tests
1404s ok 24 /socket/get_available/datagram
1404s ok 25 /socket/get_available/stream
1404s # End of get_available tests
1404s # Start of credentials tests
1404s # Supported on this OS: GCredentials:linux-ucred:pid=0
1404s ok 26 /socket/credentials/tcp_client
1404s # Supported on this OS: GCredentials:linux-ucred:pid=0
1404s ok 27 /socket/credentials/tcp_server
1404s # Supported on this OS: GCredentials:linux-ucred:pid=13422,uid=1000,gid=1000
1404s ok 28 /socket/credentials/unix_socketpair
1404s # End of credentials tests
1404s # End of socket tests
1404s ok - glib/socket.test
1404s # Running test: glib/timeout.test
1404s TAP version 14
1404s # random seed: R02S5a2be20985d3cec63cc20348d9c09f76
1404s 1..5
1404s # Start of timeout tests
1404s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1406s ok 1 /timeout/seconds
1406s # slow test /timeout/seconds executed in 2.10 secs
1408s ok 2 /timeout/seconds-once
1408s # slow test /timeout/seconds-once executed in 2.10 secs
1408s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1408s # Executing: glib/timeout.test
1410s ok 3 /timeout/weeks-overflow
1410s # slow test /timeout/weeks-overflow executed in 2.10 secs
1410s ok 4 /timeout/far-future-ready-time
1413s # Executing: glib/timeout.test
1418s # Executing: glib/timeout.test
1420s ok 5 /timeout/rounding
1420s # slow test /timeout/rounding executed in 10.52 secs
1420s # End of timeout tests
1420s ok - glib/timeout.test
1420s # Running test: glib/cxx-17.test
1420s TAP version 14
1420s # random seed: R02S55a1636fdc6d546d61065ddf53f83a31
1420s 1..2
1420s # Start of gtask tests
1420s # 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.
1420s ok 1 /gtask/name
1420s # Start of name tests
1420s # 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.
1420s ok 2 /gtask/name/macro-wrapper
1420s # End of name tests
1420s # End of gtask tests
1420s ok - glib/cxx-17.test
1420s # Running test: glib/objects-refcount2.test
1421s TAP version 14
1421s # random seed: R02Scb42a3f39c91e48910c7131016ce2b62
1421s 1..1
1421s # Start of gobject tests
1421s # Start of refcount tests
1421s # init 0x7e5f9a4e440
1421s #
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1421s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1422s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # .
1423s # Executing: glib/objects-refcount2.test
1423s # .
1423s # .
1423s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1424s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1425s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1426s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1427s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # .
1428s # Executing: glib/objects-refcount2.test
1428s # .
1428s # .
1428s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1429s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1430s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1431s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1432s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # .
1433s # Executing: glib/objects-refcount2.test
1433s # .
1433s # .
1433s # .
1433s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1434s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1435s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1436s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1437s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # .
1438s # Executing: glib/objects-refcount2.test
1438s # .
1438s # .
1438s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1439s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1440s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1441s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1442s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # .
1443s # Executing: glib/objects-refcount2.test
1443s # .
1443s # .
1443s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1444s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1445s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1446s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1447s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # .
1448s # Executing: glib/objects-refcount2.test
1448s # .
1448s # .
1448s # .
1448s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1449s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1450s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1451s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1452s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # .
1453s # Executing: glib/objects-refcount2.test
1453s # .
1453s # .
1453s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1454s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1455s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1456s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1457s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # .
1458s # Executing: glib/objects-refcount2.test
1458s # .
1458s # .
1458s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # .
1459s # dispose 0x7e5f9a4e440!
1459s #
1459s ok 1 /gobject/refcount/object-advanced
1459s # slow test /gobject/refcount/object-advanced executed in 38.40 secs
1459s # End of refcount tests
1459s # End of gobject tests
1459s ok - glib/objects-refcount2.test
1459s # Running test: glib/function-info.test
1459s TAP version 14
1459s # random seed: R02S6162c2b3415912126baa08fbf86eb735
1459s 1..1
1459s # Start of function-info tests
1459s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/home
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/cache
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_WYLH22/function-info/invoker/.dirs/system-config2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/config
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_WYLH22/function-info/invoker/.dirs/system-data2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/data
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/state
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_WYLH22/function-info/invoker/.dirs/runtime
1459s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1459s # /function-info/invoker summary: Test preparing a function invoker
1459s ok 1 /function-info/invoker
1459s # End of function-info tests
1459s ok - glib/function-info.test
1459s # Running test: glib/sandbox.test
1459s TAP version 14
1459s # random seed: R02S0373bcff2bde049e3b70b17821ab4c37
1459s 1..4
1459s # Start of sandbox tests
1459s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/home
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/cache
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_QOOH22/sandbox/none/.dirs/system-config2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/config
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_QOOH22/sandbox/none/.dirs/system-data2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/data
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/state
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_QOOH22/sandbox/none/.dirs/runtime
1459s ok 1 /sandbox/none
1459s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/home
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/cache
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/system-config2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/config
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/system-data2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/data
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/state
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_QOOH22/sandbox/snap/.dirs/runtime
1459s # Created snap.yaml in /tmp/test_sandbox_QOOH22/snap/current/meta/snap.yaml
1459s ok 2 /sandbox/snap
1459s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/home
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/cache
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/system-config2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/config
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/system-data2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/data
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/state
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_QOOH22/sandbox/classic-snap/.dirs/runtime
1459s # Created snap.yaml in /tmp/test_sandbox_QOOH22/snap/current/meta/snap.yaml
1459s ok 3 /sandbox/classic-snap
1459s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/home
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/cache
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/system-config2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/config
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/system-data2
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/data
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/state
1459s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/runtime
1459s # Creating .flatpak-info in /tmp/test_sandbox_QOOH22/sandbox/flatpak/.dirs/runtime/.flatpak-info
1459s ok 4 /sandbox/flatpak
1459s # End of sandbox tests
1459s ok - glib/sandbox.test
1459s # Running test: glib/memory-input-stream.test
1459s TAP version 14
1459s # random seed: R02S9ff3c4d92c46ae7da4b22b96dae1896f
1459s 1..6
1459s # Start of memory-input-stream tests
1459s ok 1 /memory-input-stream/read-chunks
1459s ok 2 /memory-input-stream/async
1459s ok 3 /memory-input-stream/seek
1459s ok 4 /memory-input-stream/truncate
1459s ok 5 /memory-input-stream/read-bytes
1459s ok 6 /memory-input-stream/from-bytes
1459s # End of memory-input-stream tests
1459s ok - glib/memory-input-stream.test
1459s # Running test: glib/thread-pool.test
1459s TAP version 14
1459s # random seed: R02Sf665d9d2b7e441f9172a138b71e8dc90
1459s 1..5
1459s # Start of thread_pool tests
1459s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
1459s ok 1 /thread_pool/shared
1459s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
1459s ok 2 /thread_pool/exclusive
1459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
1459s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
1459s ok 3 /thread_pool/create_shared_after_exclusive
1459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
1459s ok 4 /thread_pool/create_full
1459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
1459s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
1459s ok 5 /thread_pool/create_exclusive_after_shared
1459s # End of thread_pool tests
1459s ok - glib/thread-pool.test
1459s # Running test: glib/live-g-file.test
1459s TAP version 14
1459s # random seed: R02S07c73e7ec58ea4bbc2fa2223eb373073
1459s 1..13
1459s # Start of live-g-file tests
1459s # Cleaning target testing structure in 'testdir_live-g-file'...
1459s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1459s ok 1 /live-g-file/prep_clean_structure
1459s #
1459s # Going to create testing structure in 'testdir_live-g-file'...
1459s # Creating directory 'dir1'...
1459s # Creating directory 'dir1/subdir'...
1459s # Creating directory 'dir2'...
1459s # Creating directory 'dir-target'...
1459s # Creating directory 'dir_no-access'...
1459s # Creating directory 'dir_no-write'...
1459s # Creating file 'target-file'...
1459s # Creating file 'normal_file'...
1459s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
1459s # Creating file 'executable_file'...
1459s # Creating file 'private_file'...
1459s # Creating file 'normal_file2'...
1459s # Creating file 'readonly_file'...
1459s # Creating file 'UTF_pr?i?lis? z'...
1459s # Creating directory 'dir_pr?i?lis? z'...
1459s # Creating symlink 'lost_symlink' --> 'nowhere'...
1459s # Creating directory 'dir_hidden'...
1459s # Creating file 'dir_hidden/.a-hidden-file'...
1459s # Creating file 'dir_hidden/file-in-.hidden1'...
1459s # Creating file 'dir_hidden/file-in-.hidden2'...
1459s # Creating pattern file...
1459s # done.
1459s ok 2 /live-g-file/create_structure
1459s # Testing sample structure in 'testdir_live-g-file'...
1459s # Testing file 'dir1'...
1459s # Testing file 'dir1/subdir'...
1459s # Testing file 'dir2'...
1459s # Testing file 'dir-target'...
1459s # Testing file 'dir_no-access'...
1459s # Testing file 'dir_no-write'...
1459s # Testing file 'target-file'...
1459s # Testing file 'normal_file'...
1459s # Testing file 'normal_file-symlink'...
1459s # Testing file 'executable_file'...
1459s # Testing file 'private_file'...
1459s # Testing file 'normal_file2'...
1459s # Testing file 'readonly_file'...
1459s # Testing file 'UTF_pr?i?lis? z'...
1459s # Testing file 'dir_pr?i?lis? z'...
1459s # Testing file 'lost_symlink'...
1459s # Testing file 'dir_hidden'...
1459s # Testing file 'dir_hidden/.a-hidden-file'...
1459s # Testing file 'dir_hidden/file-in-.hidden1'...
1459s # Testing file 'dir_hidden/file-in-.hidden2'...
1459s # Testing pattern file...
1459s # read 65536 bytes, total = 65536 of 65536.
1459s ok 3 /live-g-file/test_initial_structure
1459s # Traversing through the sample structure in 'testdir_live-g-file'...
1459s # Found file dir1, relative to root: dir1
1459s # Found file subdir, relative to root: dir1/subdir
1459s # Found file dir2, relative to root: dir2
1459s # Found file dir-target, relative to root: dir-target
1459s # Found file dir_no-access, relative to root: dir_no-access
1459s # Found file dir_no-write, relative to root: dir_no-write
1459s # Found file target-file, relative to root: target-file
1459s # Found file normal_file, relative to root: normal_file
1459s # Found file normal_file-symlink, relative to root: normal_file-symlink
1459s # Found file executable_file, relative to root: executable_file
1459s # Found file private_file, relative to root: private_file
1459s # Found file normal_file2, relative to root: normal_file2
1459s # Found file readonly_file, relative to root: readonly_file
1459s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z
1459s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z
1459s # Found file lost_symlink, relative to root: lost_symlink
1459s # Found file dir_hidden, relative to root: dir_hidden
1459s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
1459s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
1459s # Found file .hidden, relative to root: dir_hidden/.hidden
1459s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
1459s # Found file pattern_file, relative to root: pattern_file
1459s ok 4 /live-g-file/test_traverse_structure
1459s # Test enumerate 'testdir_live-g-file'...
1459s # Testing file 'dir_no-access'
1459s # Testing file 'normal_file'
1459s # Testing file 'normal_file-symlink'
1459s # Testing file 'not_exists'
1459s # Testing file 'not_exists'
1459s # Testing file 'not_exists2'
1459s # Testing file 'not_exists3'
1459s # Testing file 'not_exists4'
1459s # Testing file 'dir_no-execute/file'
1459s ok 5 /live-g-file/test_enumerate
1459s # test_open: 'dir1'
1459s # test_open: 'dir_no-access'
1459s # test_open: 'target-file'
1459s # test_open: 'normal_file-symlink'
1459s # test_open: 'executable_file'
1459s # test_open: 'private_file'
1459s # test_open: 'readonly_file'
1459s # test_open: 'UTF_pr?i?lis? z'
1459s # test_open: 'pattern_file'
1459s # test_open: 'not_exists'
1459s # test_open: 'dir_no-execute/file'
1459s # test_open: 'lost_symlink'
1459s ok 6 /live-g-file/test_open
1459s # test_create: 'dir1'
1459s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir1?: Is a directory
1459s # test_create: 'dir1/subdir'
1459s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir1/subdir?: Is a directory
1459s # test_create: 'dir2'
1459s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir2?: File exists
1459s # test_create: 'normal_file'
1459s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/normal_file?: File exists
1459s # test_create: 'executable_file'
1459s # test_create: 'private_file'
1459s # test_create: 'normal_file2'
1459s # test_create: 'UTF_pr?i?lis? z'
1459s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
1459s # test_create: 'dir_pr?i?lis? z'
1459s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_pr?i?lis? z?: File exists
1459s # test_create: 'pattern_file'
1459s # test_create: 'not_exists2'
1459s # test_create: 'not_exists3'
1459s # test_create: 'not_exists4'
1459s ok 7 /live-g-file/test_create
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> 'dir-target'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> '.'
1459s # res = 0, error code 2 = Target file exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> 'target-file'
1459s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/dir1/subdir?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> 'not_exists'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir2' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> 'dir-target'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> '.'
1459s # res = 0, error code 2 = Target file exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> 'target-file'
1459s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/dir-target?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> 'not_exists'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> 'dir_no-access'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'dir-target' --> 'dir_no-write'
1459s # res = 0, error code 25 = Can?t recursively copy directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/target-file?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/target-file?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/target-file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'target-file' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/target-file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> '.'
1459s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/normal_file-symlink: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> 'target-file'
1459s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
1459s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/executable_file?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/executable_file?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/executable_file?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/executable_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'executable_file' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/executable_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/private_file?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/private_file?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/private_file?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/private_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'private_file' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/private_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/normal_file2?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/normal_file2?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/normal_file2?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'normal_file2' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> '.'
1459s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/pattern_file?: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> 'target-file'
1459s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/pattern_file?: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> 'not_exists'
1459s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/pattern_file?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'pattern_file' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'dir-target'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> '.'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'target-file'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'not_exists'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'dir_no-access'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'dir_no-write'
1459s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists?: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'not_exists' --> 'dir-target'
1459s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> 'dir-target'
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> '.'
1459s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/lost_symlink: File exists
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> 'target-file'
1459s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/target-file/lost_symlink: Not a directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> 'not_exists'
1459s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
1459s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
1459s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
1459s ok 8 /live-g-file/test_copy_move
1459s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir1
1459s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir1: Directory not empty
1459s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir2
1459s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir2: No such file or directory
1459s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/executable_file
1459s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/readonly_file
1459s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_pr?i?lis? z
1459s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists
1459s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists: No such file or directory
1459s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists
1459s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/not_exists: No such file or directory
1459s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-execute/file
1459s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/dir_no-execute/file: No such file or directory
1459s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-CFFL22/testdir_live-g-file/lost_symlink
1459s ok 9 /live-g-file/test_delete
1459s # We do not have CAP_DAC_OVERRIDE or equivalent
1459s ok 10 /live-g-file/test_make_directory_with_parents
1459s # Cleaning target testing structure in 'testdir_live-g-file'...
1459s # deleting 'dir1'
1459s # deleting 'subdir'
1459s # deleting 'dir-target'
1459s # deleting 'dir2'
1459s # deleting 'target-file'
1459s # deleting 'normal_file-symlink'
1459s # deleting 'pattern_file'
1459s # deleting 'executable_file'
1459s # deleting 'private_file'
1459s # deleting 'normal_file2'
1459s # deleting 'UTF_pr?i?lis? z'
1459s # deleting 'lost_symlink'
1459s # deleting 'dir_no-access'
1459s # deleting 'dir_no-write'
1459s # deleting 'target-file'
1459s # deleting 'normal_file'
1459s # deleting 'normal_file-symlink'
1459s # deleting 'executable_file~'
1459s # deleting 'private_file'
1459s # deleting 'normal_file2~'
1459s # deleting 'a'
1459s # deleting 'UTF_pr?i?lis? z'
1459s # deleting 'dir_hidden'
1459s # deleting '.a-hidden-file'
1459s # deleting 'file-in-.hidden1'
1459s # deleting '.hidden'
1459s # deleting 'file-in-.hidden2'
1459s # deleting 'pattern_file'
1459s # deleting 'normal_file2'
1459s # deleting 'not_exists2'
1459s # deleting 'not_exists3'
1459s # deleting 'not_exists4'
1459s ok 11 /live-g-file/final_clean
1459s # Start of test_unix_is_mountpoint tests
1459s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
1459s ok 13 /live-g-file/test_unix_is_mountpoint/proc
1459s # End of test_unix_is_mountpoint tests
1459s # End of live-g-file tests
1459s ok - glib/live-g-file.test
1459s # Running test: glib/node.test
1459s TAP version 14
1459s # random seed: R02S9ac11efdf6cb815fb33567dedbfa516a
1459s 1..6
1459s # Start of node tests
1459s ok 1 /node/allocation
1459s ok 2 /node/construction
1459s ok 3 /node/traversal
1459s ok 4 /node/misc
1459s ok 5 /node/unlink
1459s ok 6 /node/copy
1459s # End of node tests
1459s ok - glib/node.test
1459s # Running test: glib/cmph-bdz.test
1459s TAP version 14
1459s # random seed: R02Sddd3ea7e19be184a8c539c10fbbd7dc8
1459s 1..2
1459s # Start of cmph-bdz tests
1459s ok 1 /cmph-bdz/search
1459s ok 2 /cmph-bdz/search-packed
1459s # End of cmph-bdz tests
1459s ok - glib/cmph-bdz.test
1459s # Running test: glib/unicode-normalize.test
1459s TAP version 14
1459s # random seed: R02S1b91cd954a27481c5fc5364e451dc63e
1459s 1..3
1459s # Start of unicode tests
1459s # Processing Part0 # Specific cases
1459s # Processing Part1 # Character by character test
1459s # Processing Part2 # Canonical Order Test
1459s # Processing Part3 # PRI #29 Test
1459s # Processing Part4 # Canonical closures (excluding Hangul)
1459s # Processing Part5 # Chained primary composites
1459s ok 1 /unicode/normalize
1459s # Invalid UTF-8 vector 0
1459s # Invalid UTF-8 vector 1
1459s # Invalid UTF-8 vector 2
1459s # Invalid UTF-8 vector 3
1459s # Invalid UTF-8 vector 4
1459s # Invalid UTF-8 vector 5
1459s # Invalid UTF-8 vector 6
1459s # Invalid UTF-8 vector 7
1459s # Invalid UTF-8 vector 8
1459s # Invalid UTF-8 vector 9
1459s # Invalid UTF-8 vector 10
1459s # Invalid UTF-8 vector 11
1459s # Invalid UTF-8 vector 12
1459s ok 2 /unicode/normalize-invalid
1459s # Start of normalize tests
1459s ok 3 /unicode/normalize/bad-length
1459s # End of normalize tests
1459s # End of unicode tests
1459s ok - glib/unicode-normalize.test
1459s # Running test: glib/charset.test
1459s TAP version 14
1459s # random seed: R02S56e460899d62c6f98b38be99a0cb69f8
1459s 1..2
1459s # Start of charset tests
1459s # Test 0
1459s # Test 1
1459s # Test 2
1459s # Test 3
1459s ok 1 /charset/language_names_with_category
1459s ok 2 /charset/language_names_with_category_async
1459s # End of charset tests
1459s ok - glib/charset.test
1459s # Running test: glib/actions.test
1459s TAP version 14
1459s # random seed: R02S45b1f30c503e99fd8727b889a270ead8
1459s 1..13
1459s # Start of actions tests
1459s ok 1 /actions/basic
1459s ok 2 /actions/name
1459s ok 3 /actions/simplegroup
1459s ok 4 /actions/stateful
1459s ok 5 /actions/default-activate
1459s ok 6 /actions/entries
1459s ok 7 /actions/parse-detailed
1459s ok 8 /actions/property
1459s ok 9 /actions/no-properties
1459s # Start of dbus tests
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s ok 10 /actions/dbus/export
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1459s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s ok 11 /actions/dbus/threaded
1462s # slow test /actions/dbus/threaded executed in 2.40 secs
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s ok 12 /actions/dbus/bug679509
1462s # Start of export tests
1462s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1462s ok 13 /actions/dbus/export/error-handling
1462s # End of export tests
1462s # End of dbus tests
1462s # End of actions tests
1462s ok - glib/actions.test
1462s # Running test: glib/private.test
1462s TAP version 14
1462s # random seed: R02Se26ad03a6f68c4a62ba024c4ecfae159
1462s 1..8
1462s # Start of thread tests
1462s ok 1 /thread/private1
1463s ok 2 /thread/private2
1463s # slow test /thread/private2 executed in 1.08 secs
1463s ok 3 /thread/private3
1463s ok 4 /thread/staticprivate1
1463s ok 5 /thread/staticprivate2
1463s ok 6 /thread/staticprivate3
1463s # Executing: glib/private.test
1464s ok 7 /thread/staticprivate4
1464s # slow test /thread/staticprivate4 executed in 1.08 secs
1464s ok 8 /thread/staticprivate5
1464s # End of thread tests
1464s ok - glib/private.test
1464s # Running test: glib/strfuncs.test
1464s TAP version 14
1464s # random seed: R02S01227a2e521b61d7a24a3c07efbb5822
1464s 1..51
1464s # Start of strfuncs tests
1464s ok 1 /strfuncs/ascii-strcasecmp
1464s ok 2 /strfuncs/ascii_strdown
1464s ok 3 /strfuncs/ascii_strdup
1464s ok 4 /strfuncs/ascii_strtod
1464s ok 5 /strfuncs/bounds-check
1464s ok 6 /strfuncs/has-prefix
1464s ok 7 /strfuncs/has-prefix-macro
1464s ok 8 /strfuncs/has-suffix
1464s ok 9 /strfuncs/has-suffix-macro
1464s ok 10 /strfuncs/memdup
1464s ok 11 /strfuncs/memdup2
1464s ok 12 /strfuncs/set_str
1464s ok 13 /strfuncs/stpcpy
1464s ok 14 /strfuncs/str_match_string
1464s ok 15 /strfuncs/str_tokenize_and_fold
1464s ok 16 /strfuncs/strcanon
1464s ok 17 /strfuncs/strchomp
1464s ok 18 /strfuncs/strchug
1464s ok 19 /strfuncs/strcompress-strescape
1464s ok 20 /strfuncs/strconcat
1464s ok 21 /strfuncs/strdelimit
1464s ok 22 /strfuncs/strdup
1464s ok 23 /strfuncs/strdup-printf
1464s ok 24 /strfuncs/strdupv
1464s ok 25 /strfuncs/strerror
1464s ok 26 /strfuncs/strip-context
1464s ok 27 /strfuncs/strjoin
1464s ok 28 /strfuncs/strjoinv
1464s ok 29 /strfuncs/strlcat
1464s ok 30 /strfuncs/strlcpy
1464s ok 31 /strfuncs/strncasecmp
1464s ok 32 /strfuncs/strndup
1464s ok 33 /strfuncs/strnfill
1464s ok 34 /strfuncs/strreverse
1464s ok 35 /strfuncs/strsignal
1464s ok 36 /strfuncs/strsplit
1464s ok 37 /strfuncs/strsplit-set
1464s ok 38 /strfuncs/strstr
1464s ok 39 /strfuncs/strtod
1464s ok 40 /strfuncs/strtoull-strtoll
1464s ok 41 /strfuncs/strup
1464s ok 42 /strfuncs/strv-contains
1464s ok 43 /strfuncs/strv-equal
1464s ok 44 /strfuncs/strv-length
1464s ok 45 /strfuncs/test-is-to-digit
1464s ok 46 /strfuncs/transliteration
1464s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
1464s ok 47 /strfuncs/str-equal
1464s ok 48 /strfuncs/str-is-ascii
1464s # Start of ascii-string-to-num tests
1464s ok 49 /strfuncs/ascii-string-to-num/pathological
1464s ok 50 /strfuncs/ascii-string-to-num/usual
1464s # End of ascii-string-to-num tests
1464s # Start of strdup tests
1464s ok 51 /strfuncs/strdup/inline
1464s # End of strdup tests
1464s # End of strfuncs tests
1464s ok - glib/strfuncs.test
1464s # Running test: glib/hmac.test
1464s TAP version 14
1464s # random seed: R02S8626431e42a07ecb2c1309b6297ee822
1464s 1..37
1464s # Start of hmac tests
1464s ok 1 /hmac/sha1-1
1464s ok 2 /hmac/sha1-2
1464s ok 3 /hmac/sha1-3
1464s ok 4 /hmac/sha1-4
1464s ok 5 /hmac/sha1-5
1464s ok 6 /hmac/sha1-6
1464s ok 7 /hmac/sha1-7
1464s ok 8 /hmac/sha256-1
1464s ok 9 /hmac/sha256-2
1464s ok 10 /hmac/sha256-3
1464s ok 11 /hmac/sha256-4
1464s ok 12 /hmac/sha256-5
1464s ok 13 /hmac/sha256-6
1464s ok 14 /hmac/sha384-1
1464s ok 15 /hmac/sha384-2
1464s ok 16 /hmac/sha384-3
1464s ok 17 /hmac/sha384-4
1464s ok 18 /hmac/sha384-5
1464s ok 19 /hmac/sha384-6
1464s ok 20 /hmac/sha512-1
1464s ok 21 /hmac/sha512-2
1464s ok 22 /hmac/sha512-3
1464s ok 23 /hmac/sha512-4
1464s ok 24 /hmac/sha512-5
1464s ok 25 /hmac/sha512-6
1464s ok 26 /hmac/md5-1
1464s ok 27 /hmac/md5-2
1464s ok 28 /hmac/md5-3
1464s ok 29 /hmac/md5-4
1464s ok 30 /hmac/md5-5
1464s ok 31 /hmac/md5-6
1464s ok 32 /hmac/md5-7
1464s ok 33 /hmac/ref-unref
1464s ok 34 /hmac/copy
1464s ok 35 /hmac/for-data
1464s ok 36 /hmac/for-string
1464s ok 37 /hmac/for-bytes
1464s # End of hmac tests
1464s ok - glib/hmac.test
1464s # Running test: glib/win32-appinfo.test
1464s TAP version 14
1464s # random seed: R02S99d86e1894a81612b3211ce19175e21f
1464s 1..5
1464s # Start of appinfo tests
1464s ok 1 /appinfo/utf16-strfuncs
1464s ok 2 /appinfo/win32-extract-executable
1464s ok 3 /appinfo/win32-rundll32-fixup
1464s ok 4 /appinfo/win32-parse-filename
1464s ok 5 /appinfo/win32-utf16-conversion-fail
1464s # Start of subprocess tests
1464s # End of subprocess tests
1464s # End of appinfo tests
1464s ok - glib/win32-appinfo.test
1464s # Running test: glib/gmenumodel.test
1464s TAP version 14
1464s # random seed: R02S3131223d68bd9e806324287e5e912212
1464s 1..15
1464s # Start of gmenu tests
1466s ok 1 /gmenu/equality
1466s # slow test /gmenu/equality executed in 1.93 secs
1468s ok 2 /gmenu/random
1468s # slow test /gmenu/random executed in 2.36 secs
1468s ok 3 /gmenu/attributes
1468s ok 4 /gmenu/links
1468s ok 5 /gmenu/mutable
1468s ok 6 /gmenu/convenience
1468s ok 7 /gmenu/menuitem
1468s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
1468s # Executing: glib/gmenumodel.test
1468s ok 8 /gmenu/input-validation
1468s # Start of dbus tests
1469s ok 9 /gmenu/dbus/roundtrip
1469s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
1470s ok 10 /gmenu/dbus/subscriptions
1472s ok 11 /gmenu/dbus/threaded
1472s # slow test /gmenu/dbus/threaded executed in 1.80 secs
1472s # Start of peer tests
1473s ok 12 /gmenu/dbus/peer/roundtrip
1473s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
1473s ok 13 /gmenu/dbus/peer/subscriptions
1473s # End of peer tests
1473s # Start of export tests
1473s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
1473s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1473s ok 14 /gmenu/dbus/export/error-handling
1473s # End of export tests
1473s # End of dbus tests
1473s # Start of attributes tests
1473s ok 15 /gmenu/attributes/iterate
1473s # End of attributes tests
1473s # End of gmenu tests
1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1473s ok - glib/gmenumodel.test
1473s # Running test: glib/spawn-singlethread.test
1473s TAP version 14
1473s # random seed: R02S74bd07b65584ad96b3ecb47a2e2ac6c9
1473s 1..9
1473s # Start of gthread tests
1473s ok 1 /gthread/spawn-single-sync
1473s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket
1473s ok 2 /gthread/spawn-stderr-socket
1473s ok 3 /gthread/spawn-single-async
1473s # thread 1
1473s # thread 1
1473s ok 4 /gthread/spawn-single-async-with-fds
1473s ok 5 /gthread/spawn-async-with-invalid-fds
1473s ok 6 /gthread/spawn-script
1473s ok 7 /gthread/spawn-posix-spawn
1473s # Start of spawn tests
1473s ok 8 /gthread/spawn/nonexistent
1473s # FD map:
1473s # • 5 → 15
1473s # • 6 → 16
1473s # • 7 → 17
1473s # • 8 → 18
1473s # • 9 → 19
1473s # • 10 → 20
1473s # • 11 → 21
1473s # • 12 → 22
1473s # • 13 → 23
1473s # • 3 → 13
1473s ok 9 /gthread/spawn/fd-assignment-clash
1473s # End of spawn tests
1473s # End of gthread tests
1473s ok - glib/spawn-singlethread.test
1473s # Running test: glib/completion.test
1473s TAP version 14
1473s # random seed: R02Sa43b476acb04bd86a19f6394b23a0e28
1473s 1..1
1473s # Start of completion tests
1473s ok 1 /completion/test-completion
1473s # End of completion tests
1473s ok - glib/completion.test
1473s # Running test: glib/task.test
1473s TAP version 14
1473s # random seed: R02Sce221a046e5c1e0bf684b1157ca83a89
1473s 1..36
1473s # Start of gtask tests
1473s ok 1 /gtask/basic
1473s ok 2 /gtask/error
1473s ok 3 /gtask/error-literal
1473s ok 4 /gtask/error-literal-from-variable
1473s ok 5 /gtask/return-from-same-iteration
1473s ok 6 /gtask/return-from-toplevel
1473s ok 7 /gtask/return-from-anon-thread
1473s ok 8 /gtask/return-from-wrong-thread
1473s ok 9 /gtask/no-callback
1473s ok 10 /gtask/report-error
1473s ok 11 /gtask/priority
1473s ok 12 /gtask/name
1473s ok 13 /gtask/static-name
1473s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
1473s ok 14 /gtask/asynchronous-cancellation
1473s ok 15 /gtask/check-cancellable
1473s ok 16 /gtask/return-if-cancelled
1473s ok 17 /gtask/run-in-thread
1473s ok 18 /gtask/run-in-thread-sync
1473s ok 19 /gtask/run-in-thread-priority
1473s # Executing: glib/task.test
1474s ok 20 /gtask/run-in-thread-nested
1474s ok 21 /gtask/run-in-thread-overflow
1474s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs
1474s # GLib-GIO-DEBUG: GTask 0xd704ab12dc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1474s # GLib-GIO-DEBUG: GTask 0xd704ab13060 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1474s ok 22 /gtask/return-on-cancel
1474s # GLib-GIO-DEBUG: GTask 0xd704ab12a40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1474s # GLib-GIO-DEBUG: GTask 0xd704ab12c00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1474s ok 23 /gtask/return-on-cancel-sync
1474s ok 24 /gtask/return-on-cancel-atomic
1474s ok 25 /gtask/return-pointer
1474s ok 26 /gtask/return-value
1474s ok 27 /gtask/return-prefixed-error
1474s ok 28 /gtask/object-keepalive
1474s ok 29 /gtask/legacy-error
1474s ok 30 /gtask/finalize-without-return
1474s # Start of name tests
1474s ok 31 /gtask/name/macro-wrapper
1474s # End of name tests
1474s # Start of return tests
1474s ok 32 /gtask/return/error-first
1474s ok 33 /gtask/return/value-first
1474s # Start of in-idle tests
1474s ok 34 /gtask/return/in-idle/error-first
1474s ok 35 /gtask/return/in-idle/value-first
1474s # End of in-idle tests
1474s # End of return tests
1474s # Start of attach-source tests
1474s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset
1474s ok 36 /gtask/attach-source/set-name
1474s # End of attach-source tests
1474s # End of gtask tests
1474s ok - glib/task.test
1474s # Running test: glib/cache.test
1474s TAP version 14
1474s # random seed: R02S5ab4a47f0e7d6955ad174e4ec5792b37
1474s 1..1
1474s # Start of cache tests
1474s ok 1 /cache/basic
1474s # End of cache tests
1474s ok - glib/cache.test
1474s # Running test: glib/gdbus-message.test
1474s TAP version 14
1474s # random seed: R02S8cd1c33287ff18134a33bd90da2d44c0
1474s 1..3
1474s # Start of gdbus tests
1474s # Start of message tests
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2N7012/gdbus/message/lock/.dirs/runtime
1474s ok 1 /gdbus/message/lock
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2N7012/gdbus/message/copy/.dirs/runtime
1474s ok 2 /gdbus/message/copy
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2N7012/gdbus/message/bytes-needed/.dirs/runtime
1474s # Vector: 0
1474s # Vector: 1
1474s # Vector: 2
1474s # Vector: 3
1474s # Vector: 4
1474s # Vector: 5
1474s ok 3 /gdbus/message/bytes-needed
1474s # End of message tests
1474s # End of gdbus tests
1474s ok - glib/gdbus-message.test
1474s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
1474s TAP version 14
1474s # random seed: R02Sd1a03c0fb1e0b2cc041872e7228c8026
1474s 1..8
1474s # Start of gdbus tests
1474s # Start of codegen tests
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/annotations/.dirs/runtime
1474s ok 1 /gdbus/codegen/annotations
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/interface_stability/.dirs/runtime
1474s ok 2 /gdbus/codegen/interface_stability
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/object-manager/.dirs/runtime
1474s ok 3 /gdbus/codegen/object-manager
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/property-naming/.dirs/runtime
1474s ok 4 /gdbus/codegen/property-naming
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/autocleanups/.dirs/runtime
1474s ok 5 /gdbus/codegen/autocleanups
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/deprecations/.dirs/runtime
1474s ok 6 /gdbus/codegen/deprecations
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/standalone-interface-info/.dirs/runtime
1474s ok 7 /gdbus/codegen/standalone-interface-info
1474s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/home
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/cache
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/system-config2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/config
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/system-data2
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/data
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/state
1474s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_59E212/gdbus/codegen/unix-fd-list/.dirs/runtime
1474s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1474s ok 8 /gdbus/codegen/unix-fd-list
1474s # End of codegen tests
1474s # End of gdbus tests
1474s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1474s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1474s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1474s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1474s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1474s ok - glib/gdbus-test-codegen-min-required-2-64.test
1474s # Running test: glib/refcount-macro.test
1474s TAP version 14
1474s # random seed: R02S212b07b689918ef85999666fa3eb497f
1474s 1..4
1474s # Start of refcount tests
1474s ok 1 /refcount/grefcount
1474s ok 2 /refcount/gatomicrefcount
1474s # Start of grefcount tests
1474s ok 3 /refcount/grefcount/saturation
1474s # End of grefcount tests
1474s # Start of gatomicrefcount tests
1474s ok 4 /refcount/gatomicrefcount/saturation
1474s # End of gatomicrefcount tests
1474s # End of refcount tests
1474s ok - glib/refcount-macro.test
1474s # Running test: glib/mainloop.test
1474s TAP version 14
1474s # random seed: R02S14e675259afd3efdd6ccb5f4b96f8561
1474s 1..45
1474s # Start of maincontext tests
1474s ok 1 /maincontext/basic
1474s # Add same-priority sources: 45
1474s # Find each source: 11
1474s # Remove in random order: 49
1474s ok 2 /maincontext/nsources_same_priority
1474s # Add different-priority sources: 30
1474s # Find each source: 8
1475s # Remove in random order: 51
1475s ok 3 /maincontext/nsources_different_priority
1475s # Add sources from threads: 137
1475s # Remove sources from threads: 234
1475s ok 4 /maincontext/nsources_threadpool
1475s ok 5 /maincontext/source_finalization
1475s # /maincontext/idle-once summary: Test g_idle_add_once() works
1475s ok 6 /maincontext/idle-once
1475s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
1475s ok 7 /maincontext/timeout-once
1475s # Start of source_finalization_from_source tests
1475s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 8 /maincontext/source_finalization_from_source/0
1475s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 9 /maincontext/source_finalization_from_source/1
1475s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 10 /maincontext/source_finalization_from_source/2
1475s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 11 /maincontext/source_finalization_from_source/3
1475s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 12 /maincontext/source_finalization_from_source/4
1475s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 13 /maincontext/source_finalization_from_source/5
1475s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 14 /maincontext/source_finalization_from_source/6
1475s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 15 /maincontext/source_finalization_from_source/7
1475s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 16 /maincontext/source_finalization_from_source/8
1475s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1475s ok 17 /maincontext/source_finalization_from_source/9
1475s # End of source_finalization_from_source tests
1475s # Start of source_finalization_from_dispatch tests
1475s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1475s ok 18 /maincontext/source_finalization_from_dispatch/0
1475s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1475s ok 19 /maincontext/source_finalization_from_dispatch/1
1475s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1475s ok 20 /maincontext/source_finalization_from_dispatch/2
1475s # End of source_finalization_from_dispatch tests
1475s # End of maincontext tests
1475s # Start of mainloop tests
1475s ok 21 /mainloop/basic
1475s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
1475s ok 23 /mainloop/priorities
1476s ok 24 /mainloop/invoke
1476s # slow test /mainloop/invoke executed in 0.50 secs
1477s ok 25 /mainloop/child_sources
1477s # slow test /mainloop/child_sources executed in 1.18 secs
1478s # Executing: glib/mainloop.test
1479s ok 26 /mainloop/recursive_child_sources
1479s # slow test /mainloop/recursive_child_sources executed in 2.15 secs
1479s ok 27 /mainloop/recursive_loop_child_sources
1479s ok 28 /mainloop/swapping_child_sources
1479s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
1479s ok 29 /mainloop/blocked_child_sources
1480s ok 30 /mainloop/source_time
1480s # slow test /mainloop/source_time executed in 1.00 secs
1480s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
1480s ok 31 /mainloop/overflow
1480s ok 32 /mainloop/ready-time
1480s # slow test /mainloop/ready-time executed in 0.50 secs
1480s ok 33 /mainloop/wakeup
1480s ok 34 /mainloop/remove-invalid
1480s ok 35 /mainloop/unref-while-pending
1482s ok 36 /mainloop/unix-fd
1482s # slow test /mainloop/unix-fd executed in 1.90 secs
1482s ok 37 /mainloop/unix-fd-source
1482s ok 38 /mainloop/source-unix-fd-api
1483s ok 39 /mainloop/wait
1483s ok 40 /mainloop/unix-file-poll
1483s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
1483s ok 41 /mainloop/unix-fd-priority
1483s ok 42 /mainloop/nfds
1483s ok 43 /mainloop/steal-fd
1483s # Start of ownerless-polling tests
1483s ok 44 /mainloop/ownerless-polling/attach-first
1483s ok 45 /mainloop/ownerless-polling/pop-first
1483s # End of ownerless-polling tests
1483s # End of mainloop tests
1483s ok - glib/mainloop.test
1483s # Running test: glib/asyncqueue.test
1483s TAP version 14
1483s # random seed: R02Se227425e63b408d2654e8ea6506fa185
1483s 1..7
1483s # Start of asyncqueue tests
1483s ok 1 /asyncqueue/basics
1483s ok 2 /asyncqueue/sort
1483s ok 3 /asyncqueue/destroy
1483s ok 4 /asyncqueue/threads
1483s ok 5 /asyncqueue/timed
1483s ok 6 /asyncqueue/remove
1483s ok 7 /asyncqueue/push_front
1483s # End of asyncqueue tests
1483s ok - glib/asyncqueue.test
1483s # Running test: glib/markup-subparser.test
1483s TAP version 14
1483s # random seed: R02S3074a4b2ed71a35b4056c1a9248b12c8
1483s 1..14
1483s # Start of glib tests
1483s # Start of markup tests
1483s # Start of subparser tests
1483s # Start of success tests
1483s ok 1 /glib/markup/subparser/success/0
1483s ok 2 /glib/markup/subparser/success/1
1483s ok 3 /glib/markup/subparser/success/2
1483s ok 4 /glib/markup/subparser/success/3
1483s ok 5 /glib/markup/subparser/success/4
1483s ok 6 /glib/markup/subparser/success/5
1483s ok 7 /glib/markup/subparser/success/6
1483s # End of success tests
1483s # Start of failure tests
1483s ok 8 /glib/markup/subparser/failure/0
1483s ok 9 /glib/markup/subparser/failure/1
1483s ok 10 /glib/markup/subparser/failure/2
1483s ok 11 /glib/markup/subparser/failure/3
1483s ok 12 /glib/markup/subparser/failure/4
1483s ok 13 /glib/markup/subparser/failure/5
1483s ok 14 /glib/markup/subparser/failure/6
1483s # End of failure tests
1483s # End of subparser tests
1483s # End of markup tests
1483s # End of glib tests
1483s ok - glib/markup-subparser.test
1483s # Running test: glib/gapplication.test
1483s TAP version 14
1483s # random seed: R02S739b2e5d07bd19a8c945093d542bf9d1
1483s 1..24
1483s # Start of gapplication tests
1483s ok 1 /gapplication/no-dbus
1483s ok 2 /gapplication/no-appid
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s ok 3 /gapplication/properties
1483s ok 4 /gapplication/app-id
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s ok 5 /gapplication/quit
1483s ok 6 /gapplication/registered
1483s ok 7 /gapplication/local-actions
1483s ok 8 /gapplication/local-command-line
1483s ok 9 /gapplication/resource-path
1483s ok 10 /gapplication/test-help
1483s ok 11 /gapplication/command-line-done
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s ok 12 /gapplication/test-busy
1483s ok 13 /gapplication/test-handle-local-options1
1483s ok 14 /gapplication/test-handle-local-options2
1483s ok 15 /gapplication/test-handle-local-options3
1483s ok 16 /gapplication/api
1483s ok 17 /gapplication/version
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1483s # launching subprocess
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s ok 18 /gapplication/replace
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1483s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1483s # launching subprocess
1483s # Executing: glib/gapplication.test
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 19 /gapplication/no-replace
1484s # slow test /gapplication/no-replace executed in 0.51 secs
1484s # Start of dbus tests
1484s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1484s # Message 0
1484s # Message 1
1484s # Message 2
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 20 /gapplication/dbus/activate
1484s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1484s # Message 0
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1484s # Message 1
1484s # Message 2
1484s # Message 3
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 21 /gapplication/dbus/open
1484s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1484s # Message 0
1484s # Message 1
1484s # Message 2
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 22 /gapplication/dbus/command-line
1484s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 23 /gapplication/dbus/command-line-done
1484s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1484s # Message 0
1484s # Message 1
1484s # Message 2
1484s # Message 3
1484s # Message 4
1484s # Message 5
1484s # Message 6
1484s # Message 7
1484s # Message 8
1484s # Message 9
1484s # Message 10
1484s # Message 11
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok 24 /gapplication/dbus/activate-action
1484s # End of dbus tests
1484s # End of gapplication tests
1484s ok - glib/gapplication.test
1484s # Running test: glib/trash.test
1484s TAP version 14
1484s # random seed: R02Sfc6ed5ed439ee63c92381103860744f3
1484s 1..3
1484s # Start of trash tests
1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1484s # File: /tmp/test-trashF6SB22 (parent st_dev: 64769)
1484s # Home: /home/ubuntu (st_dev: 64769)
1484s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
1484s # Target: /home/ubuntu/.local (mount: /)
1484s # Tmp: /tmp/test-trashG4TB22 (mount: /)
1484s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test
1484s ok 3 /trash/long-filename
1484s # End of trash tests
1484s ok - glib/trash.test
1484s # Running test: glib/tls-database.test
1484s TAP version 14
1484s # random seed: R02S90a863167804d4ff0e14efb24fc96c01
1484s 1..1
1484s # Start of tls-backend tests
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1484s ok 1 /tls-backend/set-default-database
1484s # End of tls-backend tests
1484s ok - glib/tls-database.test
1484s # Running test: glib/portal-support-none.test
1484s TAP version 14
1484s # random seed: R02S833d4e233d32d56d80bf8fdd8cb5b595
1484s 1..1
1484s # Start of portal-support tests
1484s ok 1 /portal-support/none
1484s # End of portal-support tests
1484s ok - glib/portal-support-none.test
1484s # Running test: glib/unix-mounts.test
1484s TAP version 14
1484s # random seed: R02Sd07986eaf745de66f1314bd74b61bd74
1484s 1..4
1484s # Start of unix-mounts tests
1484s ok 1 /unix-mounts/is-system-fs-type
1484s ok 2 /unix-mounts/is-system-device-path
1484s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
1484s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1484s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1484s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1484s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1484s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1484s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1484s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1484s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1484s ok 3 /unix-mounts/get-mount-points
1484s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
1484s ok 4 /unix-mounts/get-mount-entries
1484s # End of unix-mounts tests
1484s ok - glib/unix-mounts.test
1484s # Running test: glib/defaultvalue.test
1484s TAP version 14
1484s # random seed: R02S738bbb7201b36f2ca519a4c2f1742ab8
1484s 1..84
1484s # Start of Default Values tests
1484s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
1484s ok 2 /Default Values/GAppLaunchContext
1484s ok 3 /Default Values/GApplicationCommandLine
1484s # skipping GApplication:is-remote
1484s ok 4 /Default Values/GApplication
1484s ok 5 /Default Values/GBinding # SKIP mandatory construct params
1484s ok 6 /Default Values/GBindingGroup
1484s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
1484s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
1484s ok 9 /Default Values/GBytesIcon
1484s ok 10 /Default Values/GCancellable
1484s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
1484s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
1484s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
1484s ok 14 /Default Values/GCredentials
1484s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
1484s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
1484s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
1484s ok 18 /Default Values/GDBusAuthObserver
1484s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
1484s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
1484s ok 21 /Default Values/GDBusMessage
1484s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
1484s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
1484s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
1484s ok 25 /Default Values/GDBusObjectProxy
1484s ok 26 /Default Values/GDBusObjectSkeleton
1484s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
1484s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
1484s ok 29 /Default Values/GEmblem
1484s ok 30 /Default Values/GEmblemedIcon
1484s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
1484s ok 32 /Default Values/GFileInfo
1484s ok 33 /Default Values/GFileInputStream
1484s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
1484s ok 35 /Default Values/GFileOutputStream
1484s ok 36 /Default Values/GFilenameCompleter
1484s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
1484s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
1484s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
1484s ok 40 /Default Values/GInitiallyUnowned
1484s ok 41 /Default Values/GIOModule
1484s ok 42 /Default Values/GListStore
1484s ok 43 /Default Values/GMemoryInputStream
1484s ok 44 /Default Values/GMemoryOutputStream
1484s ok 45 /Default Values/GMenu
1484s ok 46 /Default Values/GMenuItem
1484s ok 47 /Default Values/GMountOperation
1484s ok 48 /Default Values/GNativeSocketAddress
1484s ok 49 /Default Values/GNetworkAddress
1484s ok 50 /Default Values/GNetworkService
1484s ok 51 /Default Values/GNotification
1484s ok 52 /Default Values/GObject
1484s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1484s # skipping GProxyAddressEnumerator:proxy-resolver
1484s ok 54 /Default Values/GProxyAddressEnumerator
1484s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
1484s ok 56 /Default Values/GSettings # SKIP mandatory construct params
1484s ok 57 /Default Values/GSignalGroup
1484s ok 58 /Default Values/GSimpleAction
1484s ok 59 /Default Values/GSimpleActionGroup
1484s ok 60 /Default Values/GSimpleAsyncResult
1484s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
1484s ok 62 /Default Values/GSimplePermission
1484s ok 63 /Default Values/GSimpleProxyResolver
1484s # skipping GSocketClient:proxy-resolver
1484s ok 64 /Default Values/GSocketClient
1484s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
1484s ok 66 /Default Values/GSocket # SKIP initialization failed
1484s ok 67 /Default Values/GSocketListener
1484s ok 68 /Default Values/GSocketService
1484s ok 69 /Default Values/GSubprocess # SKIP initialization failed
1484s ok 70 /Default Values/GSubprocessLauncher
1484s # GLib-GIO-DEBUG: GTask 0x690588d4930 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1484s ok 71 /Default Values/GTask
1484s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
1484s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
1484s ok 74 /Default Values/GTestDBus
1484s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
1484s ok 76 /Default Values/GThreadedSocketService
1484s ok 77 /Default Values/GTlsInteraction
1484s ok 78 /Default Values/GTlsPassword
1484s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
1484s ok 80 /Default Values/GUnixFDList
1484s ok 81 /Default Values/GVfs
1484s ok 82 /Default Values/GVolumeMonitor
1484s ok 83 /Default Values/GZlibCompressor
1484s ok 84 /Default Values/GZlibDecompressor
1484s # End of Default Values tests
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1484s ok - glib/defaultvalue.test
1484s # Running test: glib/network-monitor.test
1484s TAP version 14
1484s # random seed: R02S4fb0a80075a4f14c0e6f2b75b3190d4b
1484s 1..4
1484s # Start of network-monitor tests
1484s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
1484s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor?
1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1484s ok 1 /network-monitor/default
1484s ok 2 /network-monitor/remove_default
1484s ok 3 /network-monitor/add_networks
1484s ok 4 /network-monitor/remove_networks
1484s # End of network-monitor tests
1484s ok - glib/network-monitor.test
1484s # Running test: glib/qdata.test
1484s TAP version 14
1484s # random seed: R02Scfe022bbc273be0ddba178da823c356e
1484s 1..2
1484s # Start of qdata tests
1484s ok 1 /qdata/threaded
1484s ok 2 /qdata/dup
1484s # End of qdata tests
1484s ok - glib/qdata.test
1484s # Running test: glib/utf8-misc.test
1484s TAP version 14
1484s # random seed: R02Sf544b9bd2bad39d7fa9af657b3675c8a
1484s 1..7
1484s # Start of utf8 tests
1484s ok 1 /utf8/strlen
1484s ok 2 /utf8/strncpy
1484s ok 3 /utf8/strrchr
1484s ok 4 /utf8/reverse
1484s ok 5 /utf8/substring
1484s ok 6 /utf8/make-valid
1484s ok 7 /utf8/truncate-middle
1484s # End of utf8 tests
1484s ok - glib/utf8-misc.test
1484s # Running test: glib/type-flags.test
1484s TAP version 14
1484s # random seed: R02S4d90978b2de5b5255443524022f6dd48
1484s 1..4
1484s # Start of type tests
1484s # Start of flags tests
1484s ok 1 /type/flags/interface
1484s ok 2 /type/flags/final
1484s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
1484s ok 3 /type/flags/deprecated
1484s # Start of final tests
1484s ok 4 /type/flags/final/instance-check
1484s # End of final tests
1484s # End of flags tests
1484s # End of type tests
1484s ok - glib/type-flags.test
1484s # Running test: glib/1bit-mutex.test
1484s TAP version 14
1484s # random seed: R02Sdb737a6339f2dea117e27178eaa7beaa
1484s 1..2
1484s # Start of glib tests
1484s # Start of 1bit-mutex tests
1488s # Executing: glib/1bit-mutex.test
1490s ok 1 /glib/1bit-mutex/int
1490s # slow test /glib/1bit-mutex/int executed in 5.71 secs
1493s # Executing: glib/1bit-mutex.test
1493s not ok - Test timed out after 300 seconds
1495s ok 2 /glib/1bit-mutex/pointer
1495s # slow test /glib/1bit-mutex/pointer executed in 5.68 secs
1495s # End of 1bit-mutex tests
1495s # End of glib tests
1495s ok - glib/1bit-mutex.test
1495s # Running test: glib/gdbus-test-codegen.test
1495s TAP version 14
1495s # random seed: R02Sf4adef8190b4d4fcd6de524abe043bce
1495s 1..8
1495s # Start of gdbus tests
1495s # Start of codegen tests
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/annotations/.dirs/runtime
1495s ok 1 /gdbus/codegen/annotations
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/interface_stability/.dirs/runtime
1495s ok 2 /gdbus/codegen/interface_stability
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/object-manager/.dirs/runtime
1495s ok 3 /gdbus/codegen/object-manager
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/property-naming/.dirs/runtime
1495s ok 4 /gdbus/codegen/property-naming
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/autocleanups/.dirs/runtime
1495s ok 5 /gdbus/codegen/autocleanups
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/deprecations/.dirs/runtime
1495s ok 6 /gdbus/codegen/deprecations
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/standalone-interface-info/.dirs/runtime
1495s ok 7 /gdbus/codegen/standalone-interface-info
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZEB712/gdbus/codegen/unix-fd-list/.dirs/runtime
1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1495s ok 8 /gdbus/codegen/unix-fd-list
1495s # End of codegen tests
1495s # End of gdbus tests
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s ok - glib/gdbus-test-codegen.test
1495s # Running test: glib/gdbus-connection-loss.test
1495s TAP version 14
1495s # random seed: R02S5e994ae2f1e41f6edf628bd61ee529df
1495s 1..1
1495s # Start of gdbus tests
1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/home
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/cache
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/system-config2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/config
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/system-data2
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/data
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/state
1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_7PG712/gdbus/connection-loss/.dirs/runtime
1495s ok 1 /gdbus/connection-loss
1495s # End of gdbus tests
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1495s ok - glib/gdbus-connection-loss.test
1495s # Running test: glib/io-channel-basic.test
1495s TAP version 14
1495s # random seed: R02Sc7801dd64e6761cfb03fc96f6d27ab91
1495s 1..1
1495s # Start of gio tests
1495s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1495s # random seed: R02S0b4863f66c1eda8e0f8916aed11d9a2c
1496s # GLib-DEBUG: io-channel-basic: child writing 8+1893 bytes to 6
1496s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1496s # GLib-DEBUG: io-channel-basic: ...from 5: 1893 bytes
1496s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1496s # GLib-DEBUG: io-channel-basic: child writing 8+4480 bytes to 6
1496s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1496s # GLib-DEBUG: io-channel-basic: ...from 5: 4480 bytes
1496s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1496s # GLib-DEBUG: io-channel-basic: child writing 8+346 bytes to 6
1496s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1496s # GLib-DEBUG: io-channel-basic: ...from 5: 346 bytes
1496s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1497s # GLib-DEBUG: io-channel-basic: child writing 8+2794 bytes to 6
1497s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1497s # GLib-DEBUG: io-channel-basic: ...from 5: 2794 bytes
1497s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1497s # GLib-DEBUG: io-channel-basic: child writing 8+139 bytes to 6
1497s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1497s # GLib-DEBUG: io-channel-basic: ...from 5: 139 bytes
1497s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1497s # GLib-DEBUG: io-channel-basic: child writing 8+2840 bytes to 6
1497s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1497s # GLib-DEBUG: io-channel-basic: ...from 5: 2840 bytes
1497s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1497s # GLib-DEBUG: io-channel-basic: child writing 8+4970 bytes to 6
1497s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1497s # GLib-DEBUG: io-channel-basic: ...from 5: 4970 bytes
1497s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1498s # GLib-DEBUG: io-channel-basic: child writing 8+1275 bytes to 6
1498s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1498s # GLib-DEBUG: io-channel-basic: ...from 5: 1275 bytes
1498s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1498s # GLib-DEBUG: io-channel-basic: child writing 8+4369 bytes to 6
1498s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1498s # GLib-DEBUG: io-channel-basic: ...from 5: 4369 bytes
1498s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1498s # GLib-DEBUG: io-channel-basic: child writing 8+3042 bytes to 6
1498s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1498s # GLib-DEBUG: io-channel-basic: ...from 5: 3042 bytes
1498s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1498s # GLib-DEBUG: io-channel-basic: child writing 8+4351 bytes to 6
1498s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1498s # GLib-DEBUG: io-channel-basic: ...from 5: 4351 bytes
1498s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1498s # Executing: glib/io-channel-basic.test
1499s # GLib-DEBUG: io-channel-basic: child writing 8+146 bytes to 6
1499s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1499s # GLib-DEBUG: io-channel-basic: ...from 5: 146 bytes
1499s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1499s # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 6
1499s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1499s # GLib-DEBUG: io-channel-basic: ...from 5: 3890 bytes
1499s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1499s # GLib-DEBUG: io-channel-basic: child writing 8+4101 bytes to 6
1499s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1499s # GLib-DEBUG: io-channel-basic: ...from 5: 4101 bytes
1499s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1499s # GLib-DEBUG: io-channel-basic: child writing 8+1816 bytes to 6
1499s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1499s # GLib-DEBUG: io-channel-basic: ...from 5: 1816 bytes
1499s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1500s # GLib-DEBUG: io-channel-basic: child writing 8+2533 bytes to 6
1500s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1500s # GLib-DEBUG: io-channel-basic: ...from 5: 2533 bytes
1500s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1500s # GLib-DEBUG: io-channel-basic: child writing 8+1945 bytes to 6
1500s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1500s # GLib-DEBUG: io-channel-basic: ...from 5: 1945 bytes
1500s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1500s # GLib-DEBUG: io-channel-basic: child writing 8+3745 bytes to 6
1500s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1500s # GLib-DEBUG: io-channel-basic: ...from 5: 3745 bytes
1500s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1500s # GLib-DEBUG: io-channel-basic: child writing 8+3950 bytes to 6
1500s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1500s # GLib-DEBUG: io-channel-basic: ...from 5: 3950 bytes
1500s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1501s # GLib-DEBUG: io-channel-basic: child writing 8+2857 bytes to 6
1501s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1501s # GLib-DEBUG: io-channel-basic: ...from 5: 2857 bytes
1501s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1501s # GLib-DEBUG: io-channel-basic: child writing 8+2641 bytes to 6
1501s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1501s # GLib-DEBUG: io-channel-basic: ...from 5: 2641 bytes
1501s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1501s # GLib-DEBUG: io-channel-basic: child writing 8+2483 bytes to 6
1501s # GLib-DEBUG: io-channel-basic: child exiting, closing 6
1501s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN
1501s # GLib-DEBUG: io-channel-basic: ...from 5: 2483 bytes
1501s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1501s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1501s # random seed: R02Sb36c42d5353de872c3007c1e44bdc0bb
1501s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1501s # random seed: R02S78ec0080645d78bec1f62081118c8f2e
1501s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1501s # random seed: R02Sd90332984012bd312ffdd8a673a4635b
1501s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1501s # random seed: R02S6ea17a6b327cef66334e8dbc3801879c
1501s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1501s # random seed: R02S6bf0e7ff2dcd917fab639aa109b6442c
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2987 bytes to 15
1502s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 14: 2987 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 17
1502s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 16: 3240 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2017 bytes to 13
1502s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 12: 2017 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+674 bytes to 9
1502s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 8: 674 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+945 bytes to 11
1502s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 10: 945 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2143 bytes to 13
1502s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 12: 2143 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2409 bytes to 15
1502s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 14: 2409 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2673 bytes to 17
1502s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 16: 2673 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+4976 bytes to 9
1502s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 8: 4976 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+1502 bytes to 11
1502s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 10: 1502 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2741 bytes to 15
1502s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 14: 2741 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+3556 bytes to 13
1502s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 12: 3556 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+4070 bytes to 17
1502s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 16: 4070 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+995 bytes to 9
1502s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 8: 995 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+3189 bytes to 11
1502s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 10: 3189 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+2750 bytes to 15
1502s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 14: 2750 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+3957 bytes to 13
1502s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 12: 3957 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+3941 bytes to 17
1502s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 16: 3941 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+4023 bytes to 11
1502s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 10: 4023 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1502s # GLib-DEBUG: io-channel-basic: child writing 8+1032 bytes to 9
1502s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1502s # GLib-DEBUG: io-channel-basic: ...from 8: 1032 bytes
1502s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+329 bytes to 15
1503s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 14: 329 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+2094 bytes to 11
1503s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 10: 2094 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+3502 bytes to 13
1503s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 12: 3502 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+674 bytes to 17
1503s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 16: 674 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+1757 bytes to 9
1503s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 8: 1757 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+2250 bytes to 17
1503s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 16: 2250 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+790 bytes to 13
1503s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 12: 790 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+3856 bytes to 15
1503s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 14: 3856 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+2905 bytes to 11
1503s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 10: 2905 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+299 bytes to 9
1503s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 8: 299 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+3261 bytes to 17
1503s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 16: 3261 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+4585 bytes to 13
1503s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 12: 4585 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+4726 bytes to 15
1503s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 14: 4726 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+3045 bytes to 9
1503s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 8: 3045 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+1354 bytes to 11
1503s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 10: 1354 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+144 bytes to 13
1503s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 12: 144 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+4181 bytes to 17
1503s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 16: 4181 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+4808 bytes to 15
1503s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 14: 4808 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1503s # GLib-DEBUG: io-channel-basic: child writing 8+1395 bytes to 9
1503s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 8: 1395 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1503s # Executing: glib/io-channel-basic.test
1503s # GLib-DEBUG: io-channel-basic: child writing 8+2357 bytes to 11
1503s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1503s # GLib-DEBUG: io-channel-basic: ...from 10: 2357 bytes
1503s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4403 bytes to 15
1504s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 14: 4403 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4428 bytes to 9
1504s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 8: 4428 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4230 bytes to 13
1504s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 12: 4230 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3075 bytes to 11
1504s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 10: 3075 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+2777 bytes to 17
1504s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 16: 2777 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+1076 bytes to 13
1504s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 12: 1076 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+1732 bytes to 9
1504s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 8: 1732 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4011 bytes to 15
1504s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 14: 4011 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+886 bytes to 17
1504s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 16: 886 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4194 bytes to 11
1504s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 10: 4194 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3052 bytes to 9
1504s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 8: 3052 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3832 bytes to 13
1504s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 12: 3832 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3635 bytes to 15
1504s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 14: 3635 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+2630 bytes to 17
1504s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 16: 2630 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3433 bytes to 11
1504s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 10: 3433 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+4141 bytes to 15
1504s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 14: 4141 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+55 bytes to 17
1504s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 16: 55 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3227 bytes to 9
1504s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 8: 3227 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+1717 bytes to 13
1504s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 12: 1717 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1504s # GLib-DEBUG: io-channel-basic: child writing 8+3773 bytes to 11
1504s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1504s # GLib-DEBUG: io-channel-basic: ...from 10: 3773 bytes
1504s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 15
1505s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 14: 4555 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+352 bytes to 17
1505s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 16: 352 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+3438 bytes to 9
1505s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 8: 3438 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+3754 bytes to 13
1505s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 12: 3754 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+2787 bytes to 11
1505s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 10: 2787 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+1867 bytes to 15
1505s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 14: 1867 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+3431 bytes to 9
1505s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 8: 3431 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4397 bytes to 13
1505s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 12: 4397 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4184 bytes to 17
1505s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 16: 4184 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4580 bytes to 11
1505s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 10: 4580 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+1577 bytes to 15
1505s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 14: 1577 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4857 bytes to 9
1505s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 8: 4857 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4148 bytes to 13
1505s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 12: 4148 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+3452 bytes to 17
1505s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 16: 3452 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+816 bytes to 11
1505s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 10: 816 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+4716 bytes to 9
1505s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 8: 4716 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+1887 bytes to 15
1505s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 14: 1887 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+1021 bytes to 13
1505s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 12: 1021 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+1164 bytes to 11
1505s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 10: 1164 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1505s # GLib-DEBUG: io-channel-basic: child writing 8+435 bytes to 17
1505s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1505s # GLib-DEBUG: io-channel-basic: ...from 16: 435 bytes
1505s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+4042 bytes to 9
1506s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 8: 4042 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+1188 bytes to 15
1506s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 14: 1188 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+4845 bytes to 11
1506s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 10: 4845 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+1832 bytes to 13
1506s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 12: 1832 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+3877 bytes to 17
1506s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 16: 3877 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+2638 bytes to 9
1506s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 8: 2638 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+4674 bytes to 15
1506s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 14: 4674 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+3514 bytes to 11
1506s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 10: 3514 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+2235 bytes to 13
1506s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 12: 2235 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+533 bytes to 17
1506s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 16: 533 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+1158 bytes to 9
1506s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 8: 1158 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+234 bytes to 15
1506s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 14: 234 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+4247 bytes to 11
1506s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 10: 4247 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+1982 bytes to 13
1506s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 12: 1982 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1506s # GLib-DEBUG: io-channel-basic: child writing 8+2945 bytes to 17
1506s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1506s # GLib-DEBUG: io-channel-basic: ...from 16: 2945 bytes
1506s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+4437 bytes to 9
1507s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 8: 4437 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+1621 bytes to 15
1507s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 14: 1621 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+3906 bytes to 13
1507s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 12: 3906 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+2017 bytes to 11
1507s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 10: 2017 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+4950 bytes to 17
1507s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 16: 4950 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+3861 bytes to 9
1507s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 8: 3861 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+4019 bytes to 15
1507s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 14: 4019 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+4316 bytes to 13
1507s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 12: 4316 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+468 bytes to 11
1507s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 10: 468 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+97 bytes to 17
1507s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 16: 97 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+3581 bytes to 9
1507s # GLib-DEBUG: io-channel-basic: child writing 8+1299 bytes to 15
1507s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 14: 1299 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1507s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 8: 3581 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+4286 bytes to 13
1507s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 12: 4286 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+1064 bytes to 11
1507s # GLib-DEBUG: io-channel-basic: child exiting, closing 11
1507s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN
1507s # GLib-DEBUG: io-channel-basic: ...from 10: 1064 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+2937 bytes to 17
1507s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 16: 2937 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+520 bytes to 15
1507s # GLib-DEBUG: io-channel-basic: child writing 8+3311 bytes to 9
1507s # GLib-DEBUG: io-channel-basic: child exiting, closing 9
1507s # GLib-DEBUG: io-channel-basic: child exiting, closing 15
1507s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN
1507s # GLib-DEBUG: io-channel-basic: ...from 8: 3311 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1507s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN
1507s # GLib-DEBUG: io-channel-basic: ...from 14: 520 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+1636 bytes to 13
1507s # GLib-DEBUG: io-channel-basic: child exiting, closing 13
1507s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN
1507s # GLib-DEBUG: io-channel-basic: ...from 12: 1636 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1507s # GLib-DEBUG: io-channel-basic: child writing 8+841 bytes to 17
1507s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1507s # GLib-DEBUG: io-channel-basic: ...from 16: 841 bytes
1507s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1508s # GLib-DEBUG: io-channel-basic: child writing 8+2000 bytes to 17
1508s # GLib-DEBUG: io-channel-basic: child exiting, closing 17
1508s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN
1508s # GLib-DEBUG: io-channel-basic: ...from 16: 2000 bytes
1508s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1508s ok 1 /gio/io-basics
1508s # slow test /gio/io-basics executed in 12.08 secs
1508s # End of gio tests
1508s ok - glib/io-channel-basic.test
1508s # Running test: glib/flags.test
1508s TAP version 14
1508s # random seed: R02S8f8930728683e892aa76a5f2debb4c1a
1508s 1..1
1508s # Start of gobject tests
1508s # Start of flags tests
1508s ok 1 /gobject/flags/validate
1508s # End of flags tests
1508s # End of gobject tests
1508s ok - glib/flags.test
1508s # Running test: glib/data-input-stream.test
1508s TAP version 14
1508s # random seed: R02S35d499578d2515a58d1743d7281bbd2d
1508s 1..10
1508s # Start of data-input-stream tests
1508s ok 1 /data-input-stream/basic
1508s ok 2 /data-input-stream/read-lines-LF
1508s ok 3 /data-input-stream/read-lines-LF-valid-utf8
1508s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
1508s ok 5 /data-input-stream/read-lines-CR
1508s ok 6 /data-input-stream/read-lines-CR-LF
1508s ok 7 /data-input-stream/read-lines-any
1508s ok 8 /data-input-stream/read-until
1508s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^
1508s # Test vector 1: {"key": "value"}? and ?
1508s ok 9 /data-input-stream/read-upto
1508s ok 10 /data-input-stream/read-int
1508s # End of data-input-stream tests
1508s ok - glib/data-input-stream.test
1508s # Running test: glib/testing.test
1508s TAP version 14
1508s # random seed: R02Sdf467672dae6326a0885e7f845f5ba09
1508s 1..1
1508s # Start of assert tests
1508s ok 1 /assert/finalize_object
1508s # Start of finalize_object tests
1508s # Start of subprocess tests
1508s # End of subprocess tests
1508s # End of finalize_object tests
1508s # End of assert tests
1508s ok - glib/testing.test
1508s # Running test: glib/dir.test
1508s TAP version 14
1508s # random seed: R02S7a8a19047bd3c939307e1128a09ce484
1508s 1..3
1508s # Start of dir tests
1508s ok 1 /dir/read
1508s ok 2 /dir/nonexisting
1508s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
1508s ok 3 /dir/refcounting
1508s # End of dir tests
1508s ok - glib/dir.test
1508s # Running test: glib/portal-support-env-var.test
1508s TAP version 14
1508s # random seed: R02S2c8a40a9c4e740b4614967e4b5ac5761
1508s 1..1
1508s # Start of portal-support tests
1508s ok 1 /portal-support/env-var
1508s # End of portal-support tests
1508s ok - glib/portal-support-env-var.test
1508s # Running test: glib/repository.test
1508s TAP version 14
1508s # random seed: R02S863caf855bc6eb6c77b1fadfa4a25073
1508s 1..23
1508s # Start of repository tests
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/basic/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/basic/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/basic/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/basic/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/basic/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/basic/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/basic/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/basic/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/basic/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/basic/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
1508s ok 1 /repository/basic
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/info/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/info/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/info/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/info/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/info/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/info/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/info/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/info/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/info/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/info/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/info summary: Test retrieving some basic info blobs from a typelib
1508s ok 2 /repository/info
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/dependencies/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/dependencies/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/dependencies/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
1508s ok 3 /repository/dependencies
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/arg-info/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/arg-info/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/arg-info/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
1508s ok 4 /repository/arg-info
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/callable-info/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/callable-info/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/callable-info/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
1508s ok 5 /repository/callable-info
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/callback-info/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/callback-info/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/callback-info/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
1508s ok 6 /repository/callback-info
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/char-types/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/char-types/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/char-types/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/char-types/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/char-types/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/char-types/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/char-types/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/char-types/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/char-types/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/char-types/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
1508s ok 7 /repository/char-types
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/constructor-return-type/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
1508s ok 8 /repository/constructor-return-type
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/enum-info-c-identifier/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
1508s ok 9 /repository/enum-info-c-identifier
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/enum-info-static-methods/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/enum-info-static-methods summary: Test an enum with methods
1508s ok 10 /repository/enum-info-static-methods
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/error-quark/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/error-quark/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/error-quark/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/error-quark summary: Test finding an error quark by error domain
1508s ok 11 /repository/error-quark
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/flags-info-c-identifier/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
1508s ok 12 /repository/flags-info-c-identifier
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/fundamental-ref-func/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
1508s ok 13 /repository/fundamental-ref-func
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/instance-method-ownership-transfer/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
1508s ok 14 /repository/instance-method-ownership-transfer
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/object-gtype-interfaces/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
1508s ok 15 /repository/object-gtype-interfaces
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/signal-info-with-array-length-arg/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
1508s ok 16 /repository/signal-info-with-array-length-arg
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/type-info-name/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/type-info-name/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/type-info-name/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
1508s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
1508s ok 17 /repository/type-info-name
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/vfunc-info-with-no-invoker/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
1508s ok 18 /repository/vfunc-info-with-no-invoker
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
1508s ok 19 /repository/vfunc-info-with-invoker-on-interface
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
1508s ok 20 /repository/vfunc-info-with-invoker-on-object
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/find-by-gtype/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/find-by-gtype summary: Test finding a GType
1508s ok 21 /repository/find-by-gtype
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/loaded-namespaces/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/loaded-namespaces summary: Test listing loaded namespaces
1508s ok 22 /repository/loaded-namespaces
1508s # Start of base-info tests
1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/home
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/cache
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/system-config2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/config
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/system-data2
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/data
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/state
1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_LM5I22/repository/base-info/clear/.dirs/runtime
1508s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1508s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
1508s ok 23 /repository/base-info/clear
1508s # End of base-info tests
1508s # End of repository tests
1508s ok - glib/repository.test
1508s # Running test: glib/queue.test
1508s TAP version 14
1508s # random seed: R02S2b05a36c800f4403ef9f91dd166830b8
1508s 1..12
1508s # Start of queue tests
1508s ok 1 /queue/basic
1508s ok 2 /queue/copy
1508s ok 3 /queue/off-by-one
1508s ok 4 /queue/find-custom
1508s ok 5 /queue/static
1508s ok 6 /queue/clear
1508s ok 7 /queue/free-full
1508s ok 8 /queue/clear-full
1508s ok 9 /queue/insert-sibling-link
1508s ok 10 /queue/push-nth-link
1508s # Start of clear-full tests
1508s ok 11 /queue/clear-full/noop
1508s # End of clear-full tests
1508s # Start of random tests
1508s ok 12 /queue/random/seed:1113353006
1508s # End of random tests
1508s # End of queue tests
1508s ok - glib/queue.test
1508s # Running test: glib/gsubprocess.test
1508s TAP version 14
1508s # random seed: R02Sf81302fdfa38603e077077c97f623d64
1508s 1..84
1508s # Start of gsubprocess tests
1508s ok 1 /gsubprocess/noop
1508s ok 2 /gsubprocess/noop-all-to-null
1508s ok 3 /gsubprocess/noop-no-wait
1508s ok 4 /gsubprocess/noop-stdin-inherit
1508s ok 5 /gsubprocess/search-path
1508s ok 6 /gsubprocess/search-path-from-envp
1508s # Executing: glib/gsubprocess.test
1511s ok 7 /gsubprocess/signal
1511s # slow test /gsubprocess/signal executed in 3.30 secs
1511s ok 8 /gsubprocess/exit1
1511s ok 9 /gsubprocess/echo1
1511s ok 10 /gsubprocess/echo-merged
1511s ok 11 /gsubprocess/cat-utf8
1512s ok 12 /gsubprocess/cat-eof
1512s # slow test /gsubprocess/cat-eof executed in 1.00 secs
1513s # Executing: glib/gsubprocess.test
1515s ok 13 /gsubprocess/multi1
1515s # slow test /gsubprocess/multi1 executed in 3.01 secs
1515s ok 14 /gsubprocess/communicate
1518s # Executing: glib/gsubprocess.test
1518s ok 15 /gsubprocess/terminate
1518s # slow test /gsubprocess/terminate executed in 2.98 secs
1518s ok 16 /gsubprocess/fail-initialization
1518s ok 17 /gsubprocess/env
1518s ok 18 /gsubprocess/cwd
1518s ok 19 /gsubprocess/launcher-close
1518s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1518s ok 20 /gsubprocess/stdout-file
1518s ok 21 /gsubprocess/stdout-fd
1518s ok 22 /gsubprocess/child-setup
1518s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1518s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1518s ok 23 /gsubprocess/launcher-environment
1518s # Start of exit1 tests
1518s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
1518s ok 24 /gsubprocess/exit1/cancel
1518s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
1518s ok 25 /gsubprocess/exit1/cancel_in_cb
1518s # End of exit1 tests
1518s # Start of communicate tests
1518s ok 26 /gsubprocess/communicate/cancelled
1518s ok 27 /gsubprocess/communicate/async
1518s ok 28 /gsubprocess/communicate/utf8
1518s # hello world
1518s ok 29 /gsubprocess/communicate/no-pipes
1518s ok 30 /gsubprocess/communicate/separate-stderr
1518s ok 31 /gsubprocess/communicate/stdout-only
1518s # hello world
1518s ok 32 /gsubprocess/communicate/stderr-only
1518s ok 33 /gsubprocess/communicate/stdout-silence
1518s ok 34 /gsubprocess/communicate/nothing
1518s # Start of async tests
1518s ok 35 /gsubprocess/communicate/async/cancelled
1518s # hello world
1518s ok 36 /gsubprocess/communicate/async/no-pipes
1518s ok 37 /gsubprocess/communicate/async/separate-stderr
1518s ok 38 /gsubprocess/communicate/async/stdout-only
1518s # hello world
1518s ok 39 /gsubprocess/communicate/async/stderr-only
1518s ok 40 /gsubprocess/communicate/async/stdout-silence
1518s # Start of cancelled tests
1518s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes
1518s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr
1518s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only
1518s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only
1518s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence
1518s # End of cancelled tests
1518s # End of async tests
1518s # Start of utf8 tests
1518s ok 46 /gsubprocess/communicate/utf8/cancelled
1518s ok 47 /gsubprocess/communicate/utf8/async
1518s # hello world
1518s ok 48 /gsubprocess/communicate/utf8/no-pipes
1518s ok 49 /gsubprocess/communicate/utf8/separate-stderr
1518s ok 50 /gsubprocess/communicate/utf8/stdout-only
1518s # hello world
1518s ok 51 /gsubprocess/communicate/utf8/stderr-only
1518s ok 52 /gsubprocess/communicate/utf8/stdout-silence
1519s ok 53 /gsubprocess/communicate/utf8/invalid
1519s # Start of async tests
1519s ok 54 /gsubprocess/communicate/utf8/async/cancelled
1519s # hello world
1519s ok 55 /gsubprocess/communicate/utf8/async/no-pipes
1519s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr
1519s ok 57 /gsubprocess/communicate/utf8/async/stdout-only
1519s # hello world
1519s ok 58 /gsubprocess/communicate/utf8/async/stderr-only
1519s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence
1519s ok 60 /gsubprocess/communicate/utf8/async/invalid
1519s # Start of cancelled tests
1519s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
1519s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
1519s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
1519s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
1519s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
1519s # End of cancelled tests
1519s # End of async tests
1519s # Start of cancelled tests
1519s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes
1519s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr
1519s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only
1519s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only
1519s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence
1519s # End of cancelled tests
1519s # End of utf8 tests
1519s # Start of cancelled tests
1519s ok 71 /gsubprocess/communicate/cancelled/no-pipes
1519s ok 72 /gsubprocess/communicate/cancelled/separate-stderr
1519s ok 73 /gsubprocess/communicate/cancelled/stdout-only
1519s ok 74 /gsubprocess/communicate/cancelled/stderr-only
1519s ok 75 /gsubprocess/communicate/cancelled/stdout-silence
1519s # End of cancelled tests
1519s # End of communicate tests
1519s # Start of env tests
1519s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1519s ok 76 /gsubprocess/env/inherit
1519s # End of env tests
1519s # Start of pass-fd tests
1519s ok 77 /gsubprocess/pass-fd/basic
1519s ok 78 /gsubprocess/pass-fd/empty-child-setup
1519s ok 79 /gsubprocess/pass-fd/inherit-fds
1519s # End of pass-fd tests
1519s # Start of fd-conflation tests
1519s ok 80 /gsubprocess/fd-conflation/basic
1519s ok 81 /gsubprocess/fd-conflation/empty-child-setup
1519s ok 82 /gsubprocess/fd-conflation/inherit-fds
1519s ok 83 /gsubprocess/fd-conflation/child-err-report-fd
1519s # End of fd-conflation tests
1519s # Start of exit-status tests
1519s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
1519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
1519s ok 84 /gsubprocess/exit-status/trapped
1519s # End of exit-status tests
1519s # End of gsubprocess tests
1519s ok - glib/gsubprocess.test
1519s # Running test: glib/gdbus-connection-slow.test
1519s TAP version 14
1519s # random seed: R02S952273a57d0c8509bf401750519d9e2f
1519s 1..2
1519s # Start of gdbus tests
1519s # Start of connection tests
1519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/home
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/cache
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/system-config2
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/config
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/system-data2
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/data
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/state
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/flush/.dirs/runtime
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s ok 1 /gdbus/connection/flush
1519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/home
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/cache
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/system-config2
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/config
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/system-data2
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/data
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/state
1519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KOGB22/gdbus/connection/large_message/.dirs/runtime
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1519s ok 2 /gdbus/connection/large_message
1519s # End of connection tests
1519s # End of gdbus tests
1519s ok - glib/gdbus-connection-slow.test
1519s # Running test: glib/gdatetime.test
1519s TAP version 14
1519s # random seed: R02Sed49c78fe380573bca6da546546aeb16
1519s 1..68
1519s # Start of GDateTime tests
1519s # Bug Reference: http://bugzilla.gnome.org/702674
1519s ok 1 /GDateTime/invalid
1519s ok 2 /GDateTime/add_days
1519s ok 3 /GDateTime/add_full
1519s ok 4 /GDateTime/add_hours
1519s ok 5 /GDateTime/add_minutes
1519s ok 6 /GDateTime/add_months
1519s ok 7 /GDateTime/add_seconds
1519s ok 8 /GDateTime/add_weeks
1519s ok 9 /GDateTime/add_years
1519s ok 10 /GDateTime/compare
1519s ok 11 /GDateTime/diff
1519s ok 12 /GDateTime/equal
1519s ok 13 /GDateTime/get_day_of_week
1519s ok 14 /GDateTime/get_day_of_month
1519s ok 15 /GDateTime/get_day_of_year
1519s ok 16 /GDateTime/get_hour
1519s ok 17 /GDateTime/get_microsecond
1519s ok 18 /GDateTime/get_minute
1519s ok 19 /GDateTime/get_month
1519s ok 20 /GDateTime/get_second
1519s ok 21 /GDateTime/get_utc_offset
1519s ok 22 /GDateTime/get_year
1519s ok 23 /GDateTime/hash
1519s ok 24 /GDateTime/new_from_unix
1519s ok 25 /GDateTime/new_from_unix_utc
1519s ok 26 /GDateTime/new_from_timeval
1519s ok 27 /GDateTime/new_from_timeval_utc
1519s ok 28 /GDateTime/new_from_iso8601
1519s ok 29 /GDateTime/new_full
1519s ok 30 /GDateTime/now
1519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
1519s ok 31 /GDateTime/test-6-days-until-end-of-the-month
1519s # %a -> expected: Sat
1519s # %a -> actual: Sat
1519s # %A -> expected: Saturday
1519s # %A -> actual: Saturday
1519s # %b -> expected: Oct
1519s # %b -> actual: Oct
1519s # %B -> expected: October
1519s # %B -> actual: October
1519s # %d -> expected: 24
1519s # %d -> actual: 24
1519s # %d -> expected: 01
1519s # %d -> actual: 01
1519s # %e -> expected: 24
1519s # %e -> actual: 24
1519s # %e -> expected:  1
1519s # %e -> actual:  1
1519s # %f -> expected: 001000
1519s # %f -> actual: 001000
1519s # %h -> expected: Oct
1519s # %h -> actual: Oct
1519s # %H -> expected: 00
1519s # %H -> actual: 00
1519s # %H -> expected: 15
1519s # %H -> actual: 15
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %I -> expected: 03
1519s # %I -> actual: 03
1519s # %j -> expected: 297
1519s # %j -> actual: 297
1519s # %k -> expected:  0
1519s # %k -> actual:  0
1519s # %k -> expected: 13
1519s # %k -> actual: 13
1519s # %l -> expected: 12
1519s # %l -> actual: 12
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %l -> expected:  1
1519s # %l -> actual:  1
1519s # %l -> expected: 10
1519s # %l -> actual: 10
1519s # %m -> expected: 10
1519s # %m -> actual: 10
1519s # %M -> expected: 00
1519s # %M -> actual: 00
1519s # %p -> expected: AM
1519s # %p -> actual: AM
1519s # %p -> expected: PM
1519s # %p -> actual: PM
1519s # %P -> expected: am
1519s # %P -> actual: am
1519s # %P -> expected: pm
1519s # %P -> actual: pm
1519s # %r -> expected: 12:00:00 AM
1519s # %r -> actual: 12:00:00 AM
1519s # %r -> expected: 01:13:13 PM
1519s # %r -> actual: 01:13:13 PM
1519s # %R -> expected: 00:00
1519s # %R -> actual: 00:00
1519s # %R -> expected: 13:13
1519s # %R -> actual: 13:13
1519s # %S -> expected: 00
1519s # %S -> actual: 00
1519s # %t -> expected:
1519s # %t -> actual:
1519s # %u -> expected: 6
1519s # %u -> actual: 6
1519s # %x -> expected: 10/24/09
1519s # %x -> actual: 10/24/09
1519s # %X -> expected: 00:00:00
1519s # %X -> actual: 00:00:00
1519s # %X -> expected: 13:14:15
1519s # %X -> actual: 13:14:15
1519s # %y -> expected: 09
1519s # %y -> actual: 09
1519s # %Y -> expected: 2009
1519s # %Y -> actual: 2009
1519s # %% -> expected: %
1519s # %% -> actual: %
1519s # % -> expected:
1519s # % -> actual:
1519s # %9 -> expected: (null)
1519s # %9 -> actual: (null)
1519s # %Z -> expected: UTC
1519s # %Z -> actual: UTC
1519s # %#Z %Z -> expected: utc UTC
1519s # %#Z %Z -> actual: utc UTC
1519s ok 32 /GDateTime/printf
1519s # %a -> expected: ÅÚ
1519s # %a -> actual: ÅÚ
1519s # %A -> expected: ÅÚÍËÆü
1519s # %A -> actual: ÅÚÍËÆü
1519s # %b -> expected: 10·î
1519s # %b -> actual: 10·î
1519s # %B -> expected: 10·î
1519s # %B -> actual: 10·î
1519s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1519s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1519s # %C -> expected: 20
1519s # %C -> actual: 20
1519s # %d -> expected: 24
1519s # %d -> actual: 24
1519s # %d -> expected: 01
1519s # %d -> actual: 01
1519s # %e -> expected: 24
1519s # %e -> actual: 24
1519s # %h -> expected: 10·î
1519s # %h -> actual: 10·î
1519s # %H -> expected: 00
1519s # %H -> actual: 00
1519s # %H -> expected: 15
1519s # %H -> actual: 15
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %I -> expected: 03
1519s # %I -> actual: 03
1519s # %j -> expected: 297
1519s # %j -> actual: 297
1519s # %k -> expected: ?0
1519s # %k -> actual: ?0
1519s # %k -> expected: 13
1519s # %k -> actual: 13
1519s # %l -> expected: 12
1519s # %l -> actual: 12
1519s # %I -> expected: 12
1519s # %I -> actual: 12
1519s # %l -> expected: ?1
1519s # %l -> actual: ?1
1519s # %l -> expected: 10
1519s # %l -> actual: 10
1519s # %m -> expected: 10
1519s # %m -> actual: 10
1519s # %M -> expected: 00
1519s # %M -> actual: 00
1519s # %p -> expected: ¸áÁ°
1519s # %p -> actual: ¸áÁ°
1519s # %p -> expected: ¸á¸å
1519s # %p -> actual: ¸á¸å
1519s # %P -> expected: ¸áÁ°
1519s # %P -> actual: ¸áÁ°
1519s # %P -> expected: ¸á¸å
1519s # %P -> actual: ¸á¸å
1519s # %r -> expected: ¸áÁ°12»þ00ʬ00ÉÃ
1519s # %r -> actual: ¸áÁ°12»þ00ʬ00ÉÃ
1519s # %r -> expected: ¸á¸å01»þ13ʬ13ÉÃ
1519s # %r -> actual: ¸á¸å01»þ13ʬ13ÉÃ
1519s # %R -> expected: 00:00
1519s # %R -> actual: 00:00
1519s # %R -> expected: 13:13
1519s # %R -> actual: 13:13
1519s # %S -> expected: 00
1519s # %S -> actual: 00
1519s # %t -> expected:
1519s # %t -> actual:
1519s # %u -> expected: 6
1519s # %u -> actual: 6
1519s # %x -> expected: 2009ǯ10·î24Æü
1519s # %x -> actual: 2009ǯ10·î24Æü
1519s # %X -> expected: 00»þ00ʬ00ÉÃ
1519s # %X -> actual: 00»þ00ʬ00ÉÃ
1519s # %X -> expected: 13»þ14ʬ15ÉÃ
1519s # %X -> actual: 13»þ14ʬ15ÉÃ
1519s # %y -> expected: 09
1519s # %y -> actual: 09
1519s # %Y -> expected: 2009
1519s # %Y -> actual: 2009
1519s # %% -> expected: %
1519s # %% -> actual: %
1519s # % -> expected:
1519s # % -> actual:
1519s # %9 -> expected: (null)
1519s # %9 -> actual: (null)
1519s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1519s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1519s # %EC -> expected: Ê¿À®
1519s # %EC -> actual: Ê¿À®
1519s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü
1519s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü
1519s # %EX -> expected: 00»þ00ʬ00ÉÃ
1519s # %EX -> actual: 00»þ00ʬ00ÉÃ
1519s # %Ey -> expected: 21
1519s # %Ey -> actual: 21
1519s # %EY -> expected: Ê¿À®21ǯ
1519s # %EY -> actual: Ê¿À®21ǯ
1519s ok 33 /GDateTime/non_utf8_printf
1519s # ???? -> expected: ????
1519s # ???? -> actual: ????
1519s # %H?%M -> expected: 23?15
1519s # %H?%M -> actual: 23?15
1519s # %H?%M -> expected: 23?15
1519s # %H?%M -> actual: 23?15
1519s ok 34 /GDateTime/format_unrepresentable
1519s ok 35 /GDateTime/format_iso8601
1519s ok 36 /GDateTime/strftime
1519s # %d -> expected: 01
1519s # %d -> actual: 01
1519s # %_d -> expected: 1
1519s # %_d -> actual: 1
1519s # %-d -> expected: 1
1519s # %-d -> actual: 1
1519s # %0d -> expected: 01
1519s # %0d -> actual: 01
1519s # %d -> expected: 21
1519s # %d -> actual: 21
1519s # %_d -> expected: 21
1519s # %_d -> actual: 21
1519s # %-d -> expected: 21
1519s # %-d -> actual: 21
1519s # %0d -> expected: 21
1519s # %0d -> actual: 21
1519s # %e -> expected:  1
1519s # %e -> actual:  1
1519s # %_e -> expected: 1
1519s # %_e -> actual: 1
1519s # %-e -> expected: 1
1519s # %-e -> actual: 1
1519s # %0e -> expected: 01
1519s # %0e -> actual: 01
1519s # %e -> expected: 21
1519s # %e -> actual: 21
1519s # %_e -> expected: 21
1519s # %_e -> actual: 21
1519s # %-e -> expected: 21
1519s # %-e -> actual: 21
1519s # %0e -> expected: 21
1519s # %0e -> actual: 21
1519s # %a -> expected: Thu
1519s # %a -> actual: Thu
1519s # %^a -> expected: THU
1519s # %^a -> actual: THU
1519s # %#a -> expected: THU
1519s # %#a -> actual: THU
1519s # %A -> expected: Thursday
1519s # %A -> actual: Thursday
1519s # %^A -> expected: THURSDAY
1519s # %^A -> actual: THURSDAY
1519s # %#A -> expected: THURSDAY
1519s # %#A -> actual: THURSDAY
1519s # %b -> expected: Jan
1519s # %b -> actual: Jan
1519s # %^b -> expected: JAN
1519s # %^b -> actual: JAN
1519s # %#b -> expected: JAN
1519s # %#b -> actual: JAN
1519s # %B -> expected: January
1519s # %B -> actual: January
1519s # %^B -> expected: JANUARY
1519s # %^B -> actual: JANUARY
1519s # %#B -> expected: JANUARY
1519s # %#B -> actual: JANUARY
1519s # %h -> expected: Jan
1519s # %h -> actual: Jan
1519s # %^h -> expected: JAN
1519s # %^h -> actual: JAN
1519s # %#h -> expected: JAN
1519s # %#h -> actual: JAN
1519s # %Z -> expected: UTC
1519s # %Z -> actual: UTC
1519s # %^Z -> expected: UTC
1519s # %^Z -> actual: UTC
1519s # %#Z -> expected: utc
1519s # %#Z -> actual: utc
1519s # %H -> expected: 01
1519s # %H -> actual: 01
1519s # %_H -> expected: 1
1519s # %_H -> actual: 1
1519s # %-H -> expected: 1
1519s # %-H -> actual: 1
1519s # %0H -> expected: 01
1519s # %0H -> actual: 01
1519s # %H -> expected: 21
1519s # %H -> actual: 21
1519s # %_H -> expected: 21
1519s # %_H -> actual: 21
1519s # %-H -> expected: 21
1519s # %-H -> actual: 21
1519s # %0H -> expected: 21
1519s # %0H -> actual: 21
1519s # %I -> expected: 01
1519s # %I -> actual: 01
1519s # %_I -> expected: 1
1519s # %_I -> actual: 1
1519s # %-I -> expected: 1
1519s # %-I -> actual: 1
1519s # %0I -> expected: 01
1519s # %0I -> actual: 01
1519s # %I -> expected: 11
1519s # %I -> actual: 11
1519s # %_I -> expected: 11
1519s # %_I -> actual: 11
1519s # %-I -> expected: 11
1519s # %-I -> actual: 11
1519s # %0I -> expected: 11
1519s # %0I -> actual: 11
1519s # %k -> expected:  1
1519s # %k -> actual:  1
1519s # %_k -> expected: 1
1519s # %_k -> actual: 1
1519s # %-k -> expected: 1
1519s # %-k -> actual: 1
1519s # %0k -> expected: 01
1519s # %0k -> actual: 01
1519s # %l -> expected:  1
1519s # %l -> actual:  1
1519s # %_l -> expected: 1
1519s # %_l -> actual: 1
1519s # %-l -> expected: 1
1519s # %-l -> actual: 1
1519s # %0l -> expected: 01
1519s # %0l -> actual: 01
1519s # %l -> expected: 11
1519s # %l -> actual: 11
1519s # %_l -> expected: 11
1519s # %_l -> actual: 11
1519s # %-l -> expected: 11
1519s # %-l -> actual: 11
1519s # %0l -> expected: 11
1519s # %0l -> actual: 11
1519s # %p -> expected: AM
1519s # %p -> actual: AM
1519s # %^p -> expected: AM
1519s # %^p -> actual: AM
1519s # %#p -> expected: am
1519s # %#p -> actual: am
1519s # %P -> expected: am
1519s # %P -> actual: am
1519s # %^P -> expected: AM
1519s # %^P -> actual: AM
1519s # %#P -> expected: am
1519s # %#P -> actual: am
1519s # %OH -> expected: Û²Û³
1519s # %OH -> actual: Û²Û³
1519s # %OI -> expected: Û±Û±
1519s # %OI -> actual: Û±Û±
1519s # %OM -> expected: Û°Û°
1519s # %OM -> actual: Û°Û°
1519s # %Om -> expected: Û°Û·
1519s # %Om -> actual: Û°Û·
1519s # %0Om -> expected: Û°Û·
1519s # %0Om -> actual: Û°Û·
1519s # %-Om -> expected: Û·
1519s # %-Om -> actual: Û·
1519s # %_Om -> expected: Û·
1519s # %_Om -> actual: Û·
1519s # %c -> expected: thu 01 jan 2009 00:00:00 utc
1519s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
1519s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
1519s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
1519s # %C -> expected: 20
1519s # %C -> actual: 20
1519s # %EC -> expected: 20
1519s # %EC -> actual: 20
1519s # %x -> expected: 02/01/09
1519s # %x -> actual: 02/01/09
1519s # %Ex -> expected: 02/01/09
1519s # %Ex -> actual: 02/01/09
1519s # %X -> expected: 01:02:03
1519s # %X -> actual: 01:02:03
1519s # %EX -> expected: 01:02:03
1519s # %EX -> actual: 01:02:03
1519s # %y -> expected: 09
1519s # %y -> actual: 09
1519s # %Ey -> expected: 09
1519s # %Ey -> actual: 09
1519s # %Y -> expected: 2009
1519s # %Y -> actual: 2009
1519s # %EY -> expected: 2009
1519s # %EY -> actual: 2009
1519s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
1519s # Bug Reference: http://bugzilla.gnome.org/749206
1519s # %B -> expected: January
1519s # %B -> actual: January
1519s # %OB -> expected: February
1519s # %OB -> actual: February
1519s # %b -> expected: Mar
1519s # %b -> actual: Mar
1519s # %Ob -> expected: Apr
1519s # %Ob -> actual: Apr
1519s # %h -> expected: May
1519s # %h -> actual: May
1519s # %Oh -> expected: Jun
1519s # %Oh -> actual: Jun
1519s # %B -> expected: Juli
1519s # %B -> actual: Juli
1519s # %OB -> expected: August
1519s # %OB -> actual: August
1519s # %b -> expected: Sep
1519s # %b -> actual: Sep
1519s # %Ob -> expected: Okt
1519s # %Ob -> actual: Okt
1519s # %h -> expected: Nov
1519s # %h -> actual: Nov
1519s # %Oh -> expected: Dez
1519s # %Oh -> actual: Dez
1519s # %B -> expected: enero
1519s # %B -> actual: enero
1519s # %OB -> expected: febrero
1519s # %OB -> actual: febrero
1519s # %b -> expected: mar
1519s # %b -> actual: mar
1519s # %Ob -> expected: abr
1519s # %Ob -> actual: abr
1519s # %h -> expected: may
1519s # %h -> actual: may
1519s # %Oh -> expected: jun
1519s # %Oh -> actual: jun
1519s # %B -> expected: juillet
1519s # %B -> actual: juillet
1519s # %OB -> expected: août
1519s # %OB -> actual: août
1519s # %b -> expected: sept.
1519s # %b -> actual: sept.
1519s # %Ob -> expected: oct.
1519s # %Ob -> actual: oct.
1519s # %h -> expected: nov.
1519s # %h -> actual: nov.
1519s # %Oh -> expected: déc.
1519s # %Oh -> actual: déc.
1519s # %B -> expected: ΙανουαÏίου
1519s # %B -> actual: ΙανουαÏίου
1519s # %B -> expected: ΦεβÏουαÏίου
1519s # %B -> actual: ΦεβÏουαÏίου
1519s # %B -> expected: ΜαÏτίου
1519s # %B -> actual: ΜαÏτίου
1519s # %OB -> expected: ΑπÏίλιος
1519s # %OB -> actual: ΑπÏίλιος
1519s # %OB -> expected: Μάιος
1519s # %OB -> actual: Μάιος
1519s # %OB -> expected: ΙοÏνιος
1519s # %OB -> actual: ΙοÏνιος
1519s # %b -> expected: Ιουλ
1519s # %b -> actual: Ιουλ
1519s # %Ob -> expected: ΑÏγ
1519s # %Ob -> actual: ΑÏγ
1519s # %B -> expected: svibnja
1519s # %B -> actual: svibnja
1519s # %B -> expected: lipnja
1519s # %B -> actual: lipnja
1519s # %B -> expected: srpnja
1519s # %B -> actual: srpnja
1519s # %OB -> expected: Kolovoz
1519s # %OB -> actual: kolovoz
1519s # %OB -> expected: Rujan
1519s # %OB -> actual: rujan
1519s # %OB -> expected: Listopad
1519s # %OB -> actual: listopad
1519s # %b -> expected: Stu
1519s # %b -> actual: stu
1519s # %Ob -> expected: Pro
1519s # %Ob -> actual: pro
1519s # %B -> expected: sausio
1519s # %B -> actual: sausio
1519s # %B -> expected: vasario
1519s # %B -> actual: vasario
1519s # %B -> expected: kovo
1519s # %B -> actual: kovo
1519s # %OB -> expected: balandis
1519s # %OB -> actual: balandis
1519s # %OB -> expected: gegužė
1519s # %OB -> actual: gegužė
1519s # %OB -> expected: birželis
1519s # %OB -> actual: birželis
1519s # %b -> expected: liep.
1519s # %b -> actual: liep.
1519s # %Ob -> expected: rugp.
1519s # %Ob -> actual: rugp.
1519s # %B -> expected: maja
1519s # %B -> actual: maja
1519s # %B -> expected: czerwca
1519s # %B -> actual: czerwca
1519s # %B -> expected: lipca
1519s # %B -> actual: lipca
1519s # %OB -> expected: sierpień
1519s # %OB -> actual: sierpień
1519s # %OB -> expected: wrzesień
1519s # %OB -> actual: wrzesień
1519s # %OB -> expected: październik
1519s # %OB -> actual: październik
1519s # %b -> expected: lis
1519s # %b -> actual: lis
1519s # %Ob -> expected: gru
1519s # %Ob -> actual: gru
1519s # %B -> expected: ÑнварÑ
1519s # %B -> actual: ÑнварÑ
1519s # %B -> expected: февралÑ
1519s # %B -> actual: февралÑ
1519s # %B -> expected: марта
1519s # %B -> actual: марта
1519s # %OB -> expected: Ðпрель
1519s # %OB -> actual: Ðпрель
1519s # %OB -> expected: Май
1519s # %OB -> actual: Май
1519s # %OB -> expected: Июнь
1519s # %OB -> actual: Июнь
1519s # %b -> expected: июл
1519s # %b -> actual: июл
1519s # %Ob -> expected: авг
1519s # %Ob -> actual: авг
1519s # %b -> expected: маÑ
1519s # %b -> actual: маÑ
1519s # %Ob -> expected: май
1519s # %Ob -> actual: май
1519s ok 38 /GDateTime/month_names
1519s ok 39 /GDateTime/to_local
1519s ok 40 /GDateTime/to_unix
1519s ok 41 /GDateTime/to_timeval
1519s ok 42 /GDateTime/to_utc
1519s ok 43 /GDateTime/now_utc
1519s ok 44 /GDateTime/dst
1519s # Bug Reference: http://bugzilla.gnome.org/642935
1519s ok 45 /GDateTime/test_z
1521s ok 46 /GDateTime/test-all-dates
1521s # slow test /GDateTime/test-all-dates executed in 1.57 secs
1521s ok 47 /GDateTime/unix_usec
1521s # Start of new_from_unix tests
1521s # Bug Reference: http://bugzilla.gnome.org/782089
1521s ok 48 /GDateTime/new_from_unix/overflow
1521s # End of new_from_unix tests
1521s # Start of new_from_timeval tests
1521s # Bug Reference: http://bugzilla.gnome.org/782089
1521s # Maximum supported GTimeVal.tv_sec = 253402300799
1521s ok 49 /GDateTime/new_from_timeval/overflow
1521s # End of new_from_timeval tests
1521s # Start of new_from_iso8601 tests
1521s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
1521s # Vector 0: 1990-11-01T10:21:17Z
1521s # Vector 1: 19901101T102117Z
1521s # Vector 2: 1970-01-01T00:00:17.12Z
1521s # Vector 3: 1970-01-01T00:00:17.1234Z
1521s # Vector 4: 1970-01-01T00:00:17.123456Z
1521s # Vector 5: 1980-02-22T12:36:00+02:00
1521s # Vector 6: 1990-12-31T15:59:60-08:00
1521s # Vector 7:
1521s # Vector 8: x
1521s # Vector 9: 123x
1521s # Vector 10: 2001-10+x
1521s # Vector 11: 1980-02-22T
1521s # Vector 12: 2001-10-08Tx
1521s # Vector 13: 2001-10-08T10:11x
1521s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
1521s # Vector 15: 1980-02-22T10:36:00Zulu
1521s # Vector 16: 2T0+819855292164632335
1521s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
1521s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
1521s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
1521s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
1521s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
1521s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
1521s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
1521s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
1521s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
1521s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
1521s # Vector 27: 20180803T140805.446178377+0100
1521s # Vector 28: 21474836480803T140805.446178377+0100
1521s # Vector 29: 20181303T140805.446178377+0100
1521s # Vector 30: 20180003T140805.446178377+0100
1521s # Vector 31: 20180800T140805.446178377+0100
1521s # Vector 32: 20180832T140805.446178377+0100
1521s # Vector 33: 20180803T240805.446178377+0100
1521s # Vector 34: 20180803T146005.446178377+0100
1521s # Vector 35: 20180803T140863.446178377+0100
1521s # Vector 36: 20180803T140805.446178377+10000
1521s # Vector 37: -0005-01-01T00:00:00Z
1521s # Vector 38: 2018-08-06
1521s # Vector 39: 20180803T140805,446178377+0100
1521s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
1521s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
1521s # Vector 42: 1990-11-01T10:21:17
1521s # Vector 43: 1719W462 407777-07
1521s # Vector 44: 4011090 260528Z
1521s # Vector 45: 0000W011 228214-22
1521s ok 50 /GDateTime/new_from_iso8601/2
1521s # End of new_from_iso8601 tests
1521s # Start of format_mixed tests
1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1521s # %b -> expected: mar
1521s # %b -> actual: Mar
1521s # %B -> expected: march
1521s # %B -> actual: March
1521s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1521s # %b -> expected: mar
1521s # %b -> actual: Mar
1521s # %B -> expected: march
1521s # %B -> actual: March
1521s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1521s # %b -> expected: Mär
1521s # %b -> actual: Mär
1521s # %B -> expected: März
1521s # %B -> actual: März
1521s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1521s # %b -> expected: Mär
1521s # %b -> actual: Mär
1521s # %B -> expected: März
1521s # %B -> actual: März
1521s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
1521s # End of format_mixed tests
1521s # Start of strftime tests
1521s # %r -> expected: (null)
1521s # %r -> actual: (null)
1521s ok 55 /GDateTime/strftime/error_handling
1521s # End of strftime tests
1521s # Start of eras tests
1521s # %Ec -> expected: 令和05年06月01日 00時00分00秒
1521s # %Ec -> actual: 令和05年06月01日 00時00分00秒
1521s # %EC -> expected: 令和
1521s # %EC -> actual: 令和
1521s # %Ex -> expected: 令和05年06月01日
1521s # %Ex -> actual: 令和05年06月01日
1521s # %EX -> expected: 00時00分00秒
1521s # %EX -> actual: 00時00分00秒
1521s # %Ey -> expected: 05
1521s # %Ey -> actual: 05
1521s # %EY -> expected: 令和05年
1521s # %EY -> actual: 令和05年
1521s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒
1521s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒
1521s # %EC -> expected: å¹³æˆ
1521s # %EC -> actual: å¹³æˆ
1521s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥
1521s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥
1521s # %EX -> expected: 00時00分00秒
1521s # %EX -> actual: 00時00分00秒
1521s # %Ey -> expected: 31
1521s # %Ey -> actual: 31
1521s # %EY -> expected: å¹³æˆ31å¹´
1521s # %EY -> actual: å¹³æˆ31å¹´
1521s # %Ec -> expected: æ˜å’Œå…ƒå¹´12月25æ—¥ 00時00分00秒
1521s # %Ec -> actual: æ˜å’Œå…ƒå¹´12月25æ—¥ 00時00分00秒
1521s # %EC -> expected: æ˜å’Œ
1521s # %EC -> actual: æ˜å’Œ
1521s # %Ex -> expected: æ˜å’Œå…ƒå¹´12月25æ—¥
1521s # %Ex -> actual: æ˜å’Œå…ƒå¹´12月25æ—¥
1521s # %EX -> expected: 00時00分00秒
1521s # %EX -> actual: 00時00分00秒
1521s # %Ey -> expected: 01
1521s # %Ey -> actual: 01
1521s # %EY -> expected: æ˜å’Œå…ƒå¹´
1521s # %EY -> actual: æ˜å’Œå…ƒå¹´
1521s ok 56 /GDateTime/eras/japan
1521s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests
1521s # Vector 0:
1521s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
1521s # 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å¹´
1521s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
1521s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
1521s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
1521s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
1521s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
1521s # Vector 8: +
1521s # Vector 9: +:
1521s # Vector 10: +::
1521s # Vector 11: +:200
1521s # Vector 12: +:2nonsense
1521s # Vector 13: +:2nonsense:
1521s # Vector 14: +:2:
1521s # Vector 15: +:2::
1521s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
1521s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
1521s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
1521s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
1521s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
1521s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
1521s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
1521s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
1521s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
1521s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
1521s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
1521s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
1521s # Vector 28: +:2:2020/01/01
1521s # Vector 29: +:2:2020/01/01:
1521s # Vector 30: +:2:2020/01/01::
1521s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
1521s # Vector 32: +:2:2020/01/01:+*
1521s # Vector 33: +:2:2020/01/01:+*:
1521s # Vector 34: +:2:2020/01/01:+*::
1521s # Vector 35: +:2:2020/01/01:+*:令和
1521s # Vector 36: +:2:2020/01/01:+*:令和:
1521s # Vector 37: +:2:2020/01/01:+*:令和:;
1521s ok 58 /GDateTime/eras/parsing
1521s # End of eras tests
1521s # End of GDateTime tests
1521s # Start of GTimeZone tests
1521s ok 59 /GTimeZone/find-interval
1521s ok 60 /GTimeZone/adjust-time
1521s ok 61 /GTimeZone/no-header
1521s ok 62 /GTimeZone/no-header-identifier
1521s ok 63 /GTimeZone/posix-parse
1521s # Bug Reference: http://bugzilla.gnome.org/697715
1521s ok 64 /GTimeZone/floating-point
1521s # System time zone identifier: Etc/UTC
1521s ok 65 /GTimeZone/identifier
1521s # Vector 0: -158400
1521s # Vector 1: -10000
1521s # Vector 2: -3600
1521s # Vector 3: -61
1521s # Vector 4: -60
1521s # Vector 5: -59
1521s # Vector 6: 0
1521s # Vector 7: 59
1521s # Vector 8: 60
1521s # Vector 9: 61
1521s # Vector 10: 3600
1521s # Vector 11: 10000
1521s # Vector 12: 158400
1521s ok 66 /GTimeZone/new-offset
1521s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
1521s ok 67 /GTimeZone/parse-rfc8536
1521s # /GTimeZone/caching summary: GTimeZone instances are cached
1521s ok 68 /GTimeZone/caching
1521s # End of GTimeZone tests
1521s ok - glib/gdatetime.test
1521s # Running test: glib/bookmarkfile.test
1521s TAP version 14
1521s # random seed: R02Scf739028fa12cbc5b855c5b44c452b9a
1521s 1..96
1521s # Start of bookmarks tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/load-from-data-dirs/.dirs/runtime
1521s ok 1 /bookmarks/load-from-data-dirs
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/to-file/.dirs/runtime
1521s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_VMUJ22/bookmarkfile-test-QOJJ22.xbel
1521s # Roundtrip from a valid bookmark file
1521s ok 2 /bookmarks/to-file
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/move-item/.dirs/runtime
1521s ok 3 /bookmarks/move-item
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/corner-cases/.dirs/runtime
1521s ok 4 /bookmarks/corner-cases
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/misc/.dirs/runtime
1521s ok 5 /bookmarks/misc
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/deprecated/.dirs/runtime
1521s ok 6 /bookmarks/deprecated
1521s # Start of parse tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-02.xbel/.dirs/runtime
1521s ok 7 /bookmarks/parse/fail-02.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-06.xbel/.dirs/runtime
1521s ok 8 /bookmarks/parse/fail-06.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-10.xbel/.dirs/runtime
1521s ok 9 /bookmarks/parse/fail-10.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-01.xbel/.dirs/runtime
1521s ok 10 /bookmarks/parse/fail-01.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-13.xbel/.dirs/runtime
1521s ok 11 /bookmarks/parse/fail-13.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-01.xbel/.dirs/runtime
1521s ok 12 /bookmarks/parse/valid-01.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-02.xbel/.dirs/runtime
1521s ok 13 /bookmarks/parse/valid-02.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-07.xbel/.dirs/runtime
1521s ok 14 /bookmarks/parse/fail-07.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-40.xbel/.dirs/runtime
1521s ok 15 /bookmarks/parse/fail-40.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-09.xbel/.dirs/runtime
1521s ok 16 /bookmarks/parse/fail-09.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-27.xbel/.dirs/runtime
1521s ok 17 /bookmarks/parse/fail-27.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-32.xbel/.dirs/runtime
1521s ok 18 /bookmarks/parse/fail-32.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-05.xbel/.dirs/runtime
1521s ok 19 /bookmarks/parse/fail-05.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-15.xbel/.dirs/runtime
1521s ok 20 /bookmarks/parse/fail-15.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-25.xbel/.dirs/runtime
1521s ok 21 /bookmarks/parse/fail-25.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-41.xbel/.dirs/runtime
1521s ok 22 /bookmarks/parse/fail-41.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-36.xbel/.dirs/runtime
1521s ok 23 /bookmarks/parse/fail-36.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-17.xbel/.dirs/runtime
1521s ok 24 /bookmarks/parse/fail-17.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-31.xbel/.dirs/runtime
1521s ok 25 /bookmarks/parse/fail-31.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-24.xbel/.dirs/runtime
1521s ok 26 /bookmarks/parse/fail-24.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-03.xbel/.dirs/runtime
1521s ok 27 /bookmarks/parse/fail-03.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-29.xbel/.dirs/runtime
1521s ok 28 /bookmarks/parse/fail-29.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-39.xbel/.dirs/runtime
1521s ok 29 /bookmarks/parse/fail-39.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-04.xbel/.dirs/runtime
1521s ok 30 /bookmarks/parse/fail-04.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-34.xbel/.dirs/runtime
1521s ok 31 /bookmarks/parse/fail-34.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-12.xbel/.dirs/runtime
1521s ok 32 /bookmarks/parse/fail-12.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/valid-03.xbel/.dirs/runtime
1521s ok 33 /bookmarks/parse/valid-03.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-26.xbel/.dirs/runtime
1521s ok 34 /bookmarks/parse/fail-26.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-08.xbel/.dirs/runtime
1521s ok 35 /bookmarks/parse/fail-08.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-14.xbel/.dirs/runtime
1521s ok 36 /bookmarks/parse/fail-14.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-42.xbel/.dirs/runtime
1521s ok 37 /bookmarks/parse/fail-42.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-16.xbel/.dirs/runtime
1521s ok 38 /bookmarks/parse/fail-16.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-38.xbel/.dirs/runtime
1521s ok 39 /bookmarks/parse/fail-38.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-33.xbel/.dirs/runtime
1521s ok 40 /bookmarks/parse/fail-33.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-30.xbel/.dirs/runtime
1521s ok 41 /bookmarks/parse/fail-30.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-23.xbel/.dirs/runtime
1521s ok 42 /bookmarks/parse/fail-23.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-22.xbel/.dirs/runtime
1521s ok 43 /bookmarks/parse/fail-22.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-35.xbel/.dirs/runtime
1521s ok 44 /bookmarks/parse/fail-35.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-28.xbel/.dirs/runtime
1521s ok 45 /bookmarks/parse/fail-28.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-20.xbel/.dirs/runtime
1521s ok 46 /bookmarks/parse/fail-20.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-37.xbel/.dirs/runtime
1521s ok 47 /bookmarks/parse/fail-37.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-18.xbel/.dirs/runtime
1521s ok 48 /bookmarks/parse/fail-18.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-19.xbel/.dirs/runtime
1521s ok 49 /bookmarks/parse/fail-19.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-21.xbel/.dirs/runtime
1521s ok 50 /bookmarks/parse/fail-21.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/parse/fail-11.xbel/.dirs/runtime
1521s ok 51 /bookmarks/parse/fail-11.xbel
1521s # End of parse tests
1521s # Start of copy tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-02.xbel/.dirs/runtime
1521s ok 52 /bookmarks/copy/fail-02.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-06.xbel/.dirs/runtime
1521s ok 53 /bookmarks/copy/fail-06.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-10.xbel/.dirs/runtime
1521s ok 54 /bookmarks/copy/fail-10.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-01.xbel/.dirs/runtime
1521s ok 55 /bookmarks/copy/fail-01.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-13.xbel/.dirs/runtime
1521s ok 56 /bookmarks/copy/fail-13.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-01.xbel/.dirs/runtime
1521s ok 57 /bookmarks/copy/valid-01.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-02.xbel/.dirs/runtime
1521s ok 58 /bookmarks/copy/valid-02.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-07.xbel/.dirs/runtime
1521s ok 59 /bookmarks/copy/fail-07.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-40.xbel/.dirs/runtime
1521s ok 60 /bookmarks/copy/fail-40.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-09.xbel/.dirs/runtime
1521s ok 61 /bookmarks/copy/fail-09.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-27.xbel/.dirs/runtime
1521s ok 62 /bookmarks/copy/fail-27.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-32.xbel/.dirs/runtime
1521s ok 63 /bookmarks/copy/fail-32.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-05.xbel/.dirs/runtime
1521s ok 64 /bookmarks/copy/fail-05.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-15.xbel/.dirs/runtime
1521s ok 65 /bookmarks/copy/fail-15.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-25.xbel/.dirs/runtime
1521s ok 66 /bookmarks/copy/fail-25.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-41.xbel/.dirs/runtime
1521s ok 67 /bookmarks/copy/fail-41.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-36.xbel/.dirs/runtime
1521s ok 68 /bookmarks/copy/fail-36.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-17.xbel/.dirs/runtime
1521s ok 69 /bookmarks/copy/fail-17.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-31.xbel/.dirs/runtime
1521s ok 70 /bookmarks/copy/fail-31.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-24.xbel/.dirs/runtime
1521s ok 71 /bookmarks/copy/fail-24.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-03.xbel/.dirs/runtime
1521s ok 72 /bookmarks/copy/fail-03.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-29.xbel/.dirs/runtime
1521s ok 73 /bookmarks/copy/fail-29.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-39.xbel/.dirs/runtime
1521s ok 74 /bookmarks/copy/fail-39.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-04.xbel/.dirs/runtime
1521s ok 75 /bookmarks/copy/fail-04.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-34.xbel/.dirs/runtime
1521s ok 76 /bookmarks/copy/fail-34.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-12.xbel/.dirs/runtime
1521s ok 77 /bookmarks/copy/fail-12.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/valid-03.xbel/.dirs/runtime
1521s ok 78 /bookmarks/copy/valid-03.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-26.xbel/.dirs/runtime
1521s ok 79 /bookmarks/copy/fail-26.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-08.xbel/.dirs/runtime
1521s ok 80 /bookmarks/copy/fail-08.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-14.xbel/.dirs/runtime
1521s ok 81 /bookmarks/copy/fail-14.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-42.xbel/.dirs/runtime
1521s ok 82 /bookmarks/copy/fail-42.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-16.xbel/.dirs/runtime
1521s ok 83 /bookmarks/copy/fail-16.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-38.xbel/.dirs/runtime
1521s ok 84 /bookmarks/copy/fail-38.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-33.xbel/.dirs/runtime
1521s ok 85 /bookmarks/copy/fail-33.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-30.xbel/.dirs/runtime
1521s ok 86 /bookmarks/copy/fail-30.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-23.xbel/.dirs/runtime
1521s ok 87 /bookmarks/copy/fail-23.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-22.xbel/.dirs/runtime
1521s ok 88 /bookmarks/copy/fail-22.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-35.xbel/.dirs/runtime
1521s ok 89 /bookmarks/copy/fail-35.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-28.xbel/.dirs/runtime
1521s ok 90 /bookmarks/copy/fail-28.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-20.xbel/.dirs/runtime
1521s ok 91 /bookmarks/copy/fail-20.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-37.xbel/.dirs/runtime
1521s ok 92 /bookmarks/copy/fail-37.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-18.xbel/.dirs/runtime
1521s ok 93 /bookmarks/copy/fail-18.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-19.xbel/.dirs/runtime
1521s ok 94 /bookmarks/copy/fail-19.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-21.xbel/.dirs/runtime
1521s ok 95 /bookmarks/copy/fail-21.xbel
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VMUJ22/bookmarks/copy/fail-11.xbel/.dirs/runtime
1521s ok 96 /bookmarks/copy/fail-11.xbel
1521s # End of copy tests
1521s # End of bookmarks tests
1521s ok - glib/bookmarkfile.test
1521s # Running test: glib/option-context.test
1521s TAP version 14
1521s # random seed: R02S0e8b127cf953c4272eb2721a4a80a5bd
1521s 1..58
1521s # Start of option tests
1521s ok 1 /option/basic
1521s ok 2 /option/translate
1521s ok 3 /option/strict-posix
1521s # Start of help tests
1521s ok 4 /option/help/options
1521s ok 5 /option/help/no-options
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652
1521s ok 6 /option/help/no-help-options
1521s # Usage:
1521s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla
1521s #
1521s # Summary
1521s #
1521s # Help Options:
1521s # -h, --help Show help options
1521s #
1521s # Application Options:
1521s # -t, --test=Argument to use in test (deprecated) Test tests
1521s # --test2 Tests also
1521s #
1521s # Description
1521s #
1521s ok 7 /option/help/deprecated
1521s # End of help tests
1521s # Start of group tests
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142
1521s ok 8 /option/group/captions
1521s ok 9 /option/group/main
1521s ok 10 /option/group/error-hook
1521s ok 11 /option/group/parse
1521s # Start of captions tests
1521s # Start of subprocess tests
1521s # End of subprocess tests
1521s # End of captions tests
1521s # End of group tests
1521s # Start of restoration tests
1521s ok 12 /option/restoration/int
1521s ok 13 /option/restoration/string
1521s ok 14 /option/restoration/boolean
1521s # End of restoration tests
1521s # Start of arg tests
1521s ok 15 /option/arg/reverse-string
1521s ok 16 /option/arg/optional-int
1521s # Start of repetition tests
1521s ok 17 /option/arg/repetition/int
1521s ok 18 /option/arg/repetition/string
1521s ok 19 /option/arg/repetition/filename
1521s ok 20 /option/arg/repetition/double
1521s ok 21 /option/arg/repetition/locale
1521s ok 22 /option/arg/repetition/int64
1521s # End of repetition tests
1521s # Start of array tests
1521s ok 23 /option/arg/array/string
1521s # End of array tests
1521s # Start of callback tests
1521s ok 24 /option/arg/callback/string
1521s ok 25 /option/arg/callback/count
1521s ok 26 /option/arg/callback/optional1
1521s ok 27 /option/arg/callback/optional2
1521s ok 28 /option/arg/callback/optional3
1521s ok 29 /option/arg/callback/optional4
1521s ok 30 /option/arg/callback/optional5
1521s ok 31 /option/arg/callback/optional6
1521s ok 32 /option/arg/callback/optional7
1521s ok 33 /option/arg/callback/optional8
1521s # End of callback tests
1521s # Start of remaining tests
1521s ok 34 /option/arg/remaining/callback
1521s ok 35 /option/arg/remaining/callback-false
1521s ok 36 /option/arg/remaining/non-option
1521s ok 37 /option/arg/remaining/separator
1521s ok 38 /option/arg/remaining/array
1521s # End of remaining tests
1521s # Start of ignore tests
1521s ok 39 /option/arg/ignore/long
1521s ok 40 /option/arg/ignore/short
1521s ok 41 /option/arg/ignore/arg
1521s # End of ignore tests
1521s # Start of rest tests
1521s ok 42 /option/arg/rest/non-option
1521s ok 43 /option/arg/rest/separator1
1521s ok 44 /option/arg/rest/separator2
1521s ok 45 /option/arg/rest/separator3
1521s ok 46 /option/arg/rest/separator4
1521s ok 47 /option/arg/rest/separator5
1521s # End of rest tests
1521s # End of arg tests
1521s # Start of context tests
1521s ok 48 /option/context/add
1521s ok 49 /option/context/empty2
1521s ok 50 /option/context/empty3
1521s # End of context tests
1521s # Start of bug tests
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609
1521s ok 51 /option/bug/unknown-short
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008
1521s ok 52 /option/bug/lonely-dash
1521s ok 53 /option/bug/triple-dash
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576
1521s ok 54 /option/bug/missing-arg
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638
1521s ok 55 /option/bug/dash-arg
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563
1521s ok 56 /option/bug/short-remaining
1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926
1521s ok 57 /option/bug/double-free
1521s ok 58 /option/bug/double-zero
1521s # End of bug tests
1521s # End of option tests
1521s ok - glib/option-context.test
1521s # Running test: glib/collate.test
1521s TAP version 14
1521s # random seed: R02S6b4a4a30d4d56eab0d37478ac9bd3c07
1521s 1..9
1521s # Start of unicode tests
1521s # Start of collate tests
1521s ok 1 /unicode/collate/0
1521s ok 2 /unicode/collate/1
1521s ok 3 /unicode/collate/2
1521s # End of collate tests
1521s # Start of collate-key tests
1521s ok 4 /unicode/collate-key/0
1521s ok 5 /unicode/collate-key/1
1521s ok 6 /unicode/collate-key/2
1521s # End of collate-key tests
1521s # Start of collate-filename tests
1521s ok 7 /unicode/collate-filename/0
1521s ok 8 /unicode/collate-filename/1
1521s ok 9 /unicode/collate-filename/2
1521s # End of collate-filename tests
1521s # End of unicode tests
1521s ok - glib/collate.test
1521s # Running test: glib/simple-async-result.test
1521s TAP version 14
1521s # random seed: R02Sca901ab6547d00f31458d865633b8092
1521s 1..2
1521s # Start of gio tests
1521s # Start of simple-async-result tests
1521s ok 1 /gio/simple-async-result/test
1521s # GLib-GIO-DEBUG: GTask 0x721e45e03e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1521s ok 2 /gio/simple-async-result/valid
1521s # End of simple-async-result tests
1521s # End of gio tests
1521s ok - glib/simple-async-result.test
1521s # Running test: glib/async-splice-output-stream.test
1521s TAP version 14
1521s # random seed: R02S4851a0c0f1e92252833e94ab3b1e97e5
1521s 1..5
1521s # Start of async-splice tests
1521s ok 1 /async-splice/copy-chunks
1521s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1521s ok 2 /async-splice/copy-chunks-threaded-input
1521s ok 3 /async-splice/copy-chunks-threaded-output
1521s ok 4 /async-splice/copy-chunks-threaded
1521s ok 5 /async-splice/cancelled
1521s # End of async-splice tests
1521s ok - glib/async-splice-output-stream.test
1521s # Running test: glib/gdbus-peer-object-manager.test
1521s TAP version 14
1521s # random seed: R02S0ae0714587e679a8908e70e6300baa18
1521s 1..2
1521s # Start of gdbus tests
1521s # Start of peer-object-manager tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/normal/.dirs/runtime
1521s ok 1 /gdbus/peer-object-manager/normal
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BO5012/gdbus/peer-object-manager/root/.dirs/runtime
1521s ok 2 /gdbus/peer-object-manager/root
1521s # End of peer-object-manager tests
1521s # End of gdbus tests
1521s ok - glib/gdbus-peer-object-manager.test
1521s # Running test: glib/fdo-notification-backend.test
1521s TAP version 14
1521s # random seed: R02S839de1fa5da507d93320376af1540b7c
1521s 1..2
1521s # Start of fdo-notification-backend tests
1521s # Test constructing a GFdoNotificationBackend
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s ok 1 /fdo-notification-backend/construction
1521s # Start of dbus tests
1521s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1521s ok 2 /fdo-notification-backend/dbus/activate-action
1521s # End of dbus tests
1521s # End of fdo-notification-backend tests
1521s ok - glib/fdo-notification-backend.test
1521s # Running test: glib/tree.test
1521s TAP version 14
1521s # random seed: R02S5b3aa5439475dc2241f698fb0b9ad788
1521s 1..7
1521s # Start of tree tests
1521s ok 1 /tree/search
1521s ok 2 /tree/remove
1521s ok 3 /tree/destroy
1521s ok 4 /tree/traverse
1521s ok 5 /tree/insert
1521s ok 6 /tree/bounds
1521s ok 7 /tree/remove-all
1521s # End of tree tests
1521s ok - glib/tree.test
1521s # Running test: glib/portal-support-flatpak-none.test
1521s TAP version 14
1521s # random seed: R02S4f7ba65edba8ac9f90336581062f2b8d
1521s 1..1
1521s # Start of portal-support tests
1521s # Start of flatpak tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/runtime
1521s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_CF4112/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
1521s ok 1 /portal-support/flatpak/none
1521s # End of flatpak tests
1521s # End of portal-support tests
1521s ok - glib/portal-support-flatpak-none.test
1521s # Running test: glib/list.test
1521s TAP version 14
1521s # random seed: R02S058fc1964d0f6429f6ade80f36c8595e
1521s 1..20
1521s # Start of list tests
1521s ok 1 /list/sort
1521s ok 2 /list/sort-with-data
1521s ok 3 /list/insert-before-link
1521s ok 4 /list/insert-sorted
1521s ok 5 /list/insert-sorted-with-data
1521s ok 6 /list/reverse
1521s ok 7 /list/nth
1521s ok 8 /list/concat
1521s ok 9 /list/remove
1521s ok 10 /list/remove-all
1521s ok 11 /list/first-last
1521s ok 12 /list/insert
1521s ok 13 /list/free-full
1521s ok 14 /list/copy
1521s ok 15 /list/copy-deep
1521s ok 16 /list/delete-link
1521s ok 17 /list/prepend
1521s ok 18 /list/position
1521s ok 19 /list/double-free
1521s # Start of sort tests
1521s ok 20 /list/sort/stable
1521s # End of sort tests
1521s # End of list tests
1521s ok - glib/list.test
1521s # Running test: glib/giomodule.test
1521s TAP version 14
1521s # random seed: R02S3e9d0a2714b7a9dfa0ea832870624c31
1521s 1..3
1521s # Start of giomodule tests
1521s ok 1 /giomodule/extension-point
1521s ok 2 /giomodule/module-scan-all
1521s ok 3 /giomodule/module-scan-all-with-scope
1521s # End of giomodule tests
1521s ok - glib/giomodule.test
1521s # Running test: glib/cxx-03.test
1521s TAP version 14
1521s # random seed: R02Sc4bc1063cb530530155378f5f0ffa203
1521s 1..2
1521s # Start of gtask tests
1521s # 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.
1521s ok 1 /gtask/name
1521s # Start of name tests
1521s # 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.
1521s ok 2 /gtask/name/macro-wrapper
1521s # End of name tests
1521s # End of gtask tests
1521s ok - glib/cxx-03.test
1521s # Running test: glib/macros-c-11.test
1521s TAP version 14
1521s # random seed: R02Sf2763a1dc69498fefa699a42bb920a7f
1521s 1..4
1521s # Start of C tests
1521s ok 1 /C/standard-11
1521s # End of C tests
1521s # Start of alignof tests
1521s ok 2 /alignof/fallback
1521s # End of alignof tests
1521s # Start of assert tests
1521s ok 3 /assert/static
1521s # End of assert tests
1521s # Start of struct tests
1521s ok 4 /struct/sizeof_member
1521s # End of struct tests
1521s ok - glib/macros-c-11.test
1521s # Running test: glib/pattern.test
1521s TAP version 14
1521s # random seed: R02S9cb3d43eaba3762c7b94c419fbe8fa8c
1521s 1..90
1521s # Start of pattern tests
1521s # Start of compile tests
1521s ok 1 /pattern/compile/0
1521s ok 2 /pattern/compile/1
1521s ok 3 /pattern/compile/2
1521s ok 4 /pattern/compile/3
1521s ok 5 /pattern/compile/4
1521s ok 6 /pattern/compile/5
1521s ok 7 /pattern/compile/6
1521s ok 8 /pattern/compile/7
1521s ok 9 /pattern/compile/8
1521s ok 10 /pattern/compile/9
1521s ok 11 /pattern/compile/10
1521s ok 12 /pattern/compile/11
1521s ok 13 /pattern/compile/12
1521s ok 14 /pattern/compile/13
1521s # End of compile tests
1521s # Start of copy tests
1521s ok 15 /pattern/copy/0
1521s ok 16 /pattern/copy/1
1521s ok 17 /pattern/copy/2
1521s ok 18 /pattern/copy/3
1521s ok 19 /pattern/copy/4
1521s ok 20 /pattern/copy/5
1521s ok 21 /pattern/copy/6
1521s ok 22 /pattern/copy/7
1521s ok 23 /pattern/copy/8
1521s ok 24 /pattern/copy/9
1521s ok 25 /pattern/copy/10
1521s ok 26 /pattern/copy/11
1521s ok 27 /pattern/copy/12
1521s ok 28 /pattern/copy/13
1521s # End of copy tests
1521s # Start of match tests
1521s ok 29 /pattern/match/0
1521s ok 30 /pattern/match/1
1521s ok 31 /pattern/match/2
1521s ok 32 /pattern/match/3
1521s ok 33 /pattern/match/4
1521s ok 34 /pattern/match/5
1521s ok 35 /pattern/match/6
1521s ok 36 /pattern/match/7
1521s ok 37 /pattern/match/8
1521s ok 38 /pattern/match/9
1521s ok 39 /pattern/match/10
1521s ok 40 /pattern/match/11
1521s ok 41 /pattern/match/12
1521s ok 42 /pattern/match/13
1521s ok 43 /pattern/match/14
1521s ok 44 /pattern/match/15
1521s ok 45 /pattern/match/16
1521s ok 46 /pattern/match/17
1521s ok 47 /pattern/match/18
1521s ok 48 /pattern/match/19
1521s ok 49 /pattern/match/20
1521s ok 50 /pattern/match/21
1521s ok 51 /pattern/match/22
1521s ok 52 /pattern/match/23
1521s ok 53 /pattern/match/24
1521s ok 54 /pattern/match/25
1521s ok 55 /pattern/match/26
1521s ok 56 /pattern/match/27
1521s ok 57 /pattern/match/28
1521s ok 58 /pattern/match/29
1521s ok 59 /pattern/match/30
1521s ok 60 /pattern/match/31
1521s ok 61 /pattern/match/32
1521s ok 62 /pattern/match/33
1521s ok 63 /pattern/match/34
1521s ok 64 /pattern/match/35
1521s ok 65 /pattern/match/36
1521s ok 66 /pattern/match/37
1521s ok 67 /pattern/match/38
1521s ok 68 /pattern/match/39
1521s ok 69 /pattern/match/40
1521s ok 70 /pattern/match/41
1521s ok 71 /pattern/match/42
1521s ok 72 /pattern/match/43
1521s ok 73 /pattern/match/44
1521s ok 74 /pattern/match/45
1521s ok 75 /pattern/match/46
1521s ok 76 /pattern/match/47
1521s ok 77 /pattern/match/48
1521s ok 78 /pattern/match/49
1521s ok 79 /pattern/match/50
1521s # End of match tests
1521s # Start of equal tests
1521s ok 80 /pattern/equal/0
1521s ok 81 /pattern/equal/1
1521s ok 82 /pattern/equal/2
1521s ok 83 /pattern/equal/3
1521s ok 84 /pattern/equal/4
1521s ok 85 /pattern/equal/5
1521s ok 86 /pattern/equal/6
1521s ok 87 /pattern/equal/7
1521s ok 88 /pattern/equal/8
1521s ok 89 /pattern/equal/9
1521s ok 90 /pattern/equal/10
1521s # End of equal tests
1521s # End of pattern tests
1521s ok - glib/pattern.test
1521s # Running test: glib/gdbus-proxy.test
1521s TAP version 14
1521s # random seed: R02S5d50a05e340bfb19a00938accd879171
1521s 1..5
1521s # Start of gdbus tests
1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/home
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/cache
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/system-config2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/config
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/system-data2
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/data
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/state
1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/.dirs/runtime
1523s ok 1 /gdbus/proxy
1523s # slow test /gdbus/proxy executed in 1.73 secs
1523s # Start of proxy tests
1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/home
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/cache
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/system-config2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/config
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/system-data2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/data
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/state
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-properties/.dirs/runtime
1523s ok 2 /gdbus/proxy/no-properties
1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/home
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/cache
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/system-config2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/config
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/system-data2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/data
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/state
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/wellknown-noauto/.dirs/runtime
1523s ok 3 /gdbus/proxy/wellknown-noauto
1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/home
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/cache
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/system-config2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/config
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/system-data2
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/data
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/state
1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/async/.dirs/runtime
1523s # Executing: glib/gdbus-proxy.test
1525s ok 4 /gdbus/proxy/async
1525s # slow test /gdbus/proxy/async executed in 1.74 secs
1525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/home
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/cache
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/system-config2
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/config
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/system-data2
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/data
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/state
1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_YDVZ12/gdbus/proxy/no-match-rule/.dirs/runtime
1525s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
1526s ok 5 /gdbus/proxy/no-match-rule
1526s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs
1526s # End of proxy tests
1526s # End of gdbus tests
1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1526s ok - glib/gdbus-proxy.test
1526s # Running test: glib/642026.test
1526s TAP version 14
1526s # random seed: R02S9428f45f33bf4f2d1f8df2105330f7b5
1526s 1..1
1526s # Start of glib tests
1526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
1526s ok 1 /glib/642026
1526s # End of glib tests
1526s ok - glib/642026.test
1526s # Running test: glib/signals.test
1526s TAP version 14
1526s # random seed: R02Sde6bdd800c78e91bcb2b9e8ed7f994a5
1526s 1..31
1526s # Start of gobject tests
1526s # Start of signals tests
1526s ok 1 /gobject/signals/all-types
1526s ok 2 /gobject/signals/variant
1526s ok 3 /gobject/signals/destroy-target-object
1526s ok 4 /gobject/signals/generic-marshaller-1
1526s ok 5 /gobject/signals/generic-marshaller-2
1526s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
1526s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
1526s ok 8 /gobject/signals/generic-marshaller-int-return
1526s ok 9 /gobject/signals/generic-marshaller-uint-return
1526s ok 10 /gobject/signals/generic-marshaller-interface-return
1526s ok 11 /gobject/signals/custom-marshaller
1526s ok 12 /gobject/signals/connect
1526s ok 13 /gobject/signals/emission-hook
1526s ok 14 /gobject/signals/emitv
1526s ok 15 /gobject/signals/accumulator
1526s # Signal: accumulator-class-first
1526s # Signal: accumulator-class-last
1526s # Signal: accumulator-class-cleanup
1526s # Signal: accumulator-class-first-last
1526s # Signal: accumulator-class-first-last-cleanup
1526s # Signal: accumulator-class-last-cleanup
1526s ok 16 /gobject/signals/accumulator-class
1526s ok 17 /gobject/signals/introspection
1526s ok 18 /gobject/signals/block-handler
1526s ok 19 /gobject/signals/stop-emission
1526s ok 20 /gobject/signals/invocation-hint
1526s ok 21 /gobject/signals/test-disconnection-wrong-object
1526s ok 22 /gobject/signals/clear-signal-handler
1526s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
1526s ok 23 /gobject/signals/lookup
1526s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
1526s ok 24 /gobject/signals/parse-name
1526s ok 25 /gobject/signals/is-valid-name
1526s ok 26 /gobject/signals/weak-ref-disconnect
1526s # Start of lookup tests
1526s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
1526s ok 27 /gobject/signals/lookup/invalid
1526s # End of lookup tests
1526s # Start of parse-name tests
1526s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
1526s # Parser input:
1526s # Parser input: 7zip
1526s # Parser input: invalid:signal
1526s # Parser input: simple-detailed::
1526s # Parser input: simple-detailed:
1526s # Parser input: :
1526s # Parser input: ::
1526s # Parser input: :valid-detail
1526s # Parser input: ::valid-detail
1526s ok 28 /gobject/signals/parse-name/invalid
1526s # End of parse-name tests
1526s # Start of invalid-name tests
1526s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
1526s ok 29 /gobject/signals/invalid-name/colon
1526s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
1526s ok 30 /gobject/signals/invalid-name/first-char
1526s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
1526s ok 31 /gobject/signals/invalid-name/empty
1526s # End of invalid-name tests
1526s # End of signals tests
1526s # End of gobject tests
1526s ok - glib/signals.test
1526s # Running test: glib/gdbus-non-socket.test
1526s TAP version 14
1526s # random seed: R02S6580d37b1340b14d03b70ee047a7b127
1526s 1..1
1526s # Start of gdbus tests
1526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/home
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/cache
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/system-config2
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/config
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/system-data2
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/data
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/state
1526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_QU4512/gdbus/non-socket/.dirs/runtime
1526s ok 1 /gdbus/non-socket
1526s # End of gdbus tests
1526s ok - glib/gdbus-non-socket.test
1526s # Running test: glib/testfilemonitor.test
1526s TAP version 14
1526s # random seed: R02S11369e3300ddb9715c9aa0bba5066193
1526s 1..8
1526s # Start of monitor tests
1526s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1526s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1526s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s # Start of file tests
1526s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1526s # End of file tests
1526s # End of monitor tests
1526s ok - glib/testfilemonitor.test
1526s # Running test: glib/messages-low-memory.py.test
1527s TAP version 13
1527s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
1527s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
1527s # tmpdir: /tmp/tmpfkenfbf_
1527s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory']
1527s # Return code: -6
1527s # Output:
1527s #
1527s # Error:
1527s # GLib-Message: 05:43:16.987: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
1527s # GLib-Message: 05:43:16.988: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
1527s # ../../../glib/gprintf.c:350: failed to allocate memory
1527s 1..1
1527s ok - glib/messages-low-memory.py.test
1527s # Running test: glib/utils-c-11.test
1527s TAP version 14
1527s # random seed: R02Sed8dc67592ac9c3ef839a5434844f3e6
1527s 1..41
1527s # Start of utils tests
1527s ok 1 /utils/language-names
1527s ok 2 /utils/locale-variants
1527s ok 3 /utils/version
1527s ok 4 /utils/appname
1527s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1527s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1527s ok 5 /utils/prgname-thread-safety
1527s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1527s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1527s ok 6 /utils/tmpdir
1527s ok 7 /utils/basic_bits
1527s ok 8 /utils/bits
1527s ok 9 /utils/swap
1527s ok 10 /utils/find-program
1527s ok 11 /utils/find-program-for-path
1527s ok 12 /utils/debug
1527s ok 13 /utils/codeset
1527s ok 14 /utils/codeset2
1527s ok 15 /utils/console-charset
1527s ok 16 /utils/gettext
1527s ok 17 /utils/username
1527s ok 18 /utils/realname
1527s ok 19 /utils/hostname
1527s ok 20 /utils/xdgdirs
1527s ok 21 /utils/specialdir
1527s # NAME: Ubuntu
1527s ok 22 /utils/os-info
1527s ok 23 /utils/clear-pointer
1527s ok 24 /utils/clear-pointer-cast
1527s ok 25 /utils/take-pointer
1527s ok 26 /utils/clear-source
1527s ok 27 /utils/misc-mem
1527s # /utils/aligned-mem summary: Aligned memory allocator
1527s # Alignment must not be zero
1527s # Alignment must be a power of two
1527s # Alignment must be a multiple of sizeof(void*)
1527s ok 28 /utils/aligned-mem
1527s # /utils/free-sized summary: Check that g_free_sized() works
1527s ok 29 /utils/free-sized
1527s ok 30 /utils/nullify
1527s ok 31 /utils/atexit
1527s ok 32 /utils/check-setuid
1527s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1527s ok 33 /utils/int-limits
1527s ok 34 /utils/clear-list
1527s ok 35 /utils/clear-slist
1527s ok 36 /utils/steal-handle-id
1527s # Start of specialdir tests
1527s ok 37 /utils/specialdir/desktop
1527s # End of specialdir tests
1527s # Start of clear-pointer tests
1527s ok 38 /utils/clear-pointer/side-effects
1527s # End of clear-pointer tests
1527s # Start of aligned-mem tests
1527s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1527s ok 39 /utils/aligned-mem/alignment
1527s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1527s ok 40 /utils/aligned-mem/zeroed
1527s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1527s ok 41 /utils/aligned-mem/free-sized
1527s # Start of subprocess tests
1527s # End of subprocess tests
1527s # End of aligned-mem tests
1527s # End of utils tests
1527s ok - glib/utils-c-11.test
1527s # Running test: glib/appmonitor.test
1527s TAP version 14
1527s # random seed: R02Sffd1ff4c8b2f943b5db0e0a00cbbb7ae
1527s 1..1
1527s # Start of monitor tests
1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/home
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/cache
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_YIID22/monitor/app/.dirs/system-config2
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/config
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_YIID22/monitor/app/.dirs/system-data2
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/data
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/state
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_YIID22/monitor/app/.dirs/runtime
1527s # Using data directory: /tmp/test_appmonitor_YIID22/monitor/app/.dirs/data
1527s ok 1 /monitor/app
1527s # End of monitor tests
1527s ok - glib/appmonitor.test
1527s # Running test: glib/gdbus-proxy-threads.test
1527s TAP version 14
1527s # random seed: R02Sa39f86be7841c8d132b3485643fbb2a3
1527s 1..1
1527s # Start of gdbus tests
1527s # Start of proxy tests
1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/home
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/cache
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/system-config2
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/config
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/system-data2
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/data
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/state
1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_9LAD22/gdbus/proxy/vs-threads/.dirs/runtime
1528s # Executing: glib/gdbus-proxy-threads.test
1529s ok 1 /gdbus/proxy/vs-threads
1529s # slow test /gdbus/proxy/vs-threads executed in 2.64 secs
1529s # End of proxy tests
1529s # End of gdbus tests
1529s cleaning up pid 15527
1529s ok - glib/gdbus-proxy-threads.test
1529s # Running test: glib/scannerapi.test
1529s TAP version 14
1529s # random seed: R02S746e730a93bb6ca180d94ab4073e1097
1529s 1..4
1529s # Start of scanner tests
1529s ok 1 /scanner/warn
1529s ok 2 /scanner/error
1529s ok 3 /scanner/symbols
1529s ok 4 /scanner/tokens
1529s # End of scanner tests
1529s ok - glib/scannerapi.test
1529s # Running test: glib/autoptr-gio.test
1529s TAP version 14
1529s # random seed: R02S3289fc38e61e6f826769f8300817441a
1529s 1..1
1529s # Start of autoptr tests
1529s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1529s ok 1 /autoptr/autoptr
1529s # End of autoptr tests
1529s ok - glib/autoptr-gio.test
1529s # Running test: glib/vfs.test
1529s TAP version 14
1529s # random seed: R02S469195f2c4b8372c3a5b0c6a6b4bbea3
1529s 1..3
1529s # Start of gvfs tests
1529s ok 1 /gvfs/local
1529s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1529s ok 2 /gvfs/register-scheme
1529s # Start of resource tests
1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
1529s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
1529s ok 3 /gvfs/resource/malformed-escaping
1529s # End of resource tests
1529s # End of gvfs tests
1529s ok - glib/vfs.test
1529s # Running test: glib/portal-support-flatpak-gsettings-only.test
1529s TAP version 14
1529s # random seed: R02S35d77248d247ca4ce1d0e0fadcb2dd5f
1529s 1..1
1529s # Start of portal-support tests
1529s # Start of flatpak tests
1529s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/home
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/cache
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/system-config2
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/config
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/system-data2
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/data
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/state
1529s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/runtime
1529s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_67M412/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
1529s ok 1 /portal-support/flatpak/gsettings
1529s # End of flatpak tests
1529s # End of portal-support tests
1529s ok - glib/portal-support-flatpak-gsettings-only.test
1529s # Running test: glib/assert-msg-test.py.test
1529s TAP version 13
1529s ok 1 __main__.TestAssertMessage.test_gassert
1529s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1529s # tmpdir: /tmp/tmpvtxh_n9u
1529s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
1529s # Return code: -6
1529s # Output:
1529s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1529s # Error:
1529s # **
1529s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1529s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
1529s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1529s # tmpdir: /tmp/tmpwvl9o5jg
1529s 1..2
1529s ok - glib/assert-msg-test.py.test
1529s # Running test: glib/hook.test
1529s TAP version 14
1529s # random seed: R02S42d0db2950d492f39c10c6c65910612a
1529s 1..2
1529s # Start of hook tests
1529s ok 1 /hook/basics
1529s ok 2 /hook/corner-cases
1529s # End of hook tests
1529s ok - glib/hook.test
1529s # Running test: glib/markup-collect.test
1529s TAP version 14
1529s # random seed: R02S9bf2f2f63f13b2c1f18a42d82fe4e87f
1529s 1..21
1529s # Start of markup tests
1529s # Start of collect tests
1529s ok 1 /markup/collect/0
1529s ok 2 /markup/collect/1
1529s ok 3 /markup/collect/2
1529s ok 4 /markup/collect/3
1529s ok 5 /markup/collect/4
1529s ok 6 /markup/collect/5
1529s ok 7 /markup/collect/6
1529s ok 8 /markup/collect/7
1529s ok 9 /markup/collect/8
1529s ok 10 /markup/collect/9
1529s ok 11 /markup/collect/10
1529s ok 12 /markup/collect/11
1529s ok 13 /markup/collect/12
1529s ok 14 /markup/collect/13
1529s ok 15 /markup/collect/14
1529s ok 16 /markup/collect/15
1529s ok 17 /markup/collect/16
1529s ok 18 /markup/collect/17
1529s ok 19 /markup/collect/18
1529s ok 20 /markup/collect/19
1529s ok 21 /markup/collect/cleanup
1529s # End of collect tests
1529s # End of markup tests
1529s ok - glib/markup-collect.test
1529s # Running test: glib/properties.test
1529s TAP version 14
1529s # random seed: R02S3ea8cdaedd7ee1d9fe7ab07f4d96d31a
1529s 1..13
1529s # Start of properties tests
1529s ok 1 /properties/install
1529s ok 2 /properties/install-many
1529s ok 3 /properties/notify
1529s ok 4 /properties/notify-queue
1529s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
1529s ok 5 /properties/construct
1529s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
1529s # Test g_object_get_property with an initialized value
1529s # Test g_object_get_property with an uninitialized value
1529s # Test g_object_get_property with a transformable value
1529s ok 6 /properties/get-property
1529s ok 7 /properties/testv_with_no_properties
1529s ok 8 /properties/testv_with_valid_properties
1529s ok 9 /properties/testv_with_invalid_property_type
1529s ok 10 /properties/testv_with_invalid_property_names
1529s ok 11 /properties/testv_getv
1529s ok 12 /properties/testv_notify_queue
1529s # Start of set-property tests
1529s # Start of variant tests
1529s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
1529s ok 13 /properties/set-property/variant/floating
1529s # End of variant tests
1529s # End of set-property tests
1529s # End of properties tests
1529s ok - glib/properties.test
1529s # Running test: glib/date.test
1529s TAP version 14
1529s # random seed: R02Sde9c7bc3e1173dc646e72d95854a3f58
1529s 1..121
1529s # Start of date tests
1529s ok 1 /date/basic
1529s ok 2 /date/empty
1529s ok 3 /date/dmy
1529s ok 4 /date/julian
1529s ok 5 /date/compare
1529s ok 6 /date/dates
1529s ok 7 /date/strftime
1529s ok 8 /date/two-digit-years
1529s ok 9 /date/parse
1529s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
1529s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
1529s ok 11 /date/month_substring
1529s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
1529s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
1529s ok 13 /date/clamp
1529s ok 14 /date/order
1529s ok 15 /date/copy
1529s # Vector 0: 0000-00-00, invalid
1529s # Vector 1: 0001-01-01, valid
1529s # Vector 2: 0000-01-01, invalid
1529s # Vector 3: 2000-02-30, invalid
1529s # Vector 4: 2000-02-29, valid
1529s # Vector 5: 2001-02-29, invalid
1529s # Vector 6: 65535-01-01, valid
1529s ok 16 /date/valid-dmy
1529s # Start of parse tests
1529s # Test 0
1529s # Test 1
1529s ok 17 /date/parse/invalid
1529s # End of parse tests
1529s # Start of year tests
1529s ok 18 /date/year/1
1529s ok 19 /date/year/2
1529s ok 20 /date/year/3
1529s ok 21 /date/year/4
1529s ok 22 /date/year/5
1529s ok 23 /date/year/6
1529s ok 24 /date/year/7
1529s ok 25 /date/year/8
1529s ok 26 /date/year/9
1529s ok 27 /date/year/10
1529s ok 28 /date/year/11
1529s ok 29 /date/year/12
1529s ok 30 /date/year/13
1529s ok 31 /date/year/14
1529s ok 32 /date/year/98
1529s ok 33 /date/year/99
1529s ok 34 /date/year/100
1529s ok 35 /date/year/101
1529s ok 36 /date/year/102
1529s ok 37 /date/year/103
1529s ok 38 /date/year/397
1529s ok 39 /date/year/398
1529s ok 40 /date/year/399
1529s ok 41 /date/year/400
1529s ok 42 /date/year/401
1529s ok 43 /date/year/402
1529s ok 44 /date/year/403
1529s ok 45 /date/year/404
1529s ok 46 /date/year/405
1529s ok 47 /date/year/406
1529s ok 48 /date/year/1598
1529s ok 49 /date/year/1599
1529s ok 50 /date/year/1600
1529s ok 51 /date/year/1601
1529s ok 52 /date/year/1602
1529s ok 53 /date/year/1650
1529s ok 54 /date/year/1651
1529s ok 55 /date/year/1897
1529s ok 56 /date/year/1898
1529s ok 57 /date/year/1899
1529s ok 58 /date/year/1900
1529s ok 59 /date/year/1901
1529s ok 60 /date/year/1902
1529s ok 61 /date/year/1903
1529s ok 62 /date/year/1961
1529s ok 63 /date/year/1962
1529s ok 64 /date/year/1963
1529s ok 65 /date/year/1964
1529s ok 66 /date/year/1965
1529s ok 67 /date/year/1967
1529s ok 68 /date/year/1968
1529s ok 69 /date/year/1969
1529s ok 70 /date/year/1970
1529s ok 71 /date/year/1971
1529s ok 72 /date/year/1972
1530s ok 73 /date/year/1973
1530s ok 74 /date/year/1974
1530s ok 75 /date/year/1975
1530s ok 76 /date/year/1976
1530s ok 77 /date/year/1977
1530s ok 78 /date/year/1978
1530s ok 79 /date/year/1979
1530s ok 80 /date/year/1980
1530s ok 81 /date/year/1981
1530s ok 82 /date/year/1982
1530s ok 83 /date/year/1983
1530s ok 84 /date/year/1984
1530s ok 85 /date/year/1985
1530s ok 86 /date/year/1986
1530s ok 87 /date/year/1987
1530s ok 88 /date/year/1988
1530s ok 89 /date/year/1989
1530s ok 90 /date/year/1990
1530s ok 91 /date/year/1991
1530s ok 92 /date/year/1992
1530s ok 93 /date/year/1993
1530s ok 94 /date/year/1994
1530s ok 95 /date/year/1995
1530s ok 96 /date/year/1996
1530s ok 97 /date/year/1997
1530s ok 98 /date/year/1998
1530s ok 99 /date/year/1999
1530s ok 100 /date/year/2000
1530s ok 101 /date/year/2001
1530s ok 102 /date/year/2002
1530s ok 103 /date/year/2003
1530s ok 104 /date/year/2004
1530s ok 105 /date/year/2005
1530s ok 106 /date/year/2006
1530s ok 107 /date/year/2007
1530s ok 108 /date/year/2008
1530s ok 109 /date/year/2009
1530s ok 110 /date/year/2010
1530s ok 111 /date/year/2011
1530s ok 112 /date/year/2012
1530s ok 113 /date/year/3000
1530s ok 114 /date/year/3001
1530s ok 115 /date/year/3002
1530s ok 116 /date/year/3998
1530s ok 117 /date/year/3999
1530s ok 118 /date/year/4000
1530s ok 119 /date/year/4001
1530s ok 120 /date/year/4002
1530s ok 121 /date/year/4003
1530s # End of year tests
1530s # End of date tests
1530s ok - glib/date.test
1530s # Running test: glib/gdbus-server-auth.test
1530s TAP version 14
1530s # random seed: R02S8deb8059ae7a8cc99d9b507c9b399666
1530s 1..9
1530s # Start of gdbus tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/.dirs/runtime
1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-A4LF22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-A4LF22/dbus-KfCmWICt
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15557
1530s ok 1 /gdbus/server-auth
1530s # Start of server-auth tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/abstract/.dirs/runtime
1530s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-M4AF22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-M4AF22/dbus-oh3WIjKJ
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15557
1530s ok 2 /gdbus/server-auth/abstract
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/tcp/.dirs/runtime
1530s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1530s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/.dirs/runtime
1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-66BG22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-66BG22/dbus-XQRn8fj5
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15557
1530s ok 4 /gdbus/server-auth/anonymous
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/.dirs/runtime
1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-XQXD22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-XQXD22/dbus-U82oAVyD
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15557
1530s ok 5 /gdbus/server-auth/external
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/.dirs/runtime
1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-CYYE22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1530s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1530s # Start of anonymous tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1530s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1530s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1530s # End of anonymous tests
1530s # Start of external tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/external/require-same-user/.dirs/runtime
1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-KZZE22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_G0KF22/gdbus-server-auth-KZZE22/dbus-pyiTnH2S
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15557
1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15557,uid=1000,gid=1000
1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15557
1530s ok 8 /gdbus/server-auth/external/require-same-user
1530s # End of external tests
1530s # Start of sha1 tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_G0KF22/gdbus/server-auth/sha1/tcp/.dirs/runtime
1530s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1530s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1530s # End of sha1 tests
1530s # End of server-auth tests
1530s # End of gdbus tests
1530s ok - glib/gdbus-server-auth.test
1530s # Running test: glib/gdbus-address-get-session.test
1530s TAP version 14
1530s # random seed: R02Sf26566d604e5e8ce46e431e76937fe45
1530s 1..2
1530s # Start of gdbus tests
1530s ok 1 /gdbus/x11-autolaunch
1530s ok 2 /gdbus/xdg-runtime
1530s # End of gdbus tests
1530s ok - glib/gdbus-address-get-session.test
1530s # Running test: glib/power-profile-monitor-portal.test
1530s TAP version 13
1530s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available
1530s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available
1530s 1..2
1530s ok - glib/power-profile-monitor-portal.test
1530s # Running test: glib/dbus-appinfo.test
1530s TAP version 14
1530s # random seed: R02S62822626794a6bc1645d4aa5891a7c85
1530s 1..7
1530s # Start of appinfo tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/runtime
1530s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1530s ok 1 /appinfo/dbusappinfo
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/runtime
1530s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Documents
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/config
1530s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
1530s # fake-document-portal cancelled
1530s ok 2 /appinfo/flatpak-doc-export
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/runtime
1530s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Documents
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/config
1530s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
1530s # fake-document-portal cancelled
1530s ok 3 /appinfo/flatpak-missing-doc-export
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/runtime
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Desktop
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/config
1530s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
1530s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t
1530s # Response emitted
1530s # fake-desktop-portal cancelled
1530s ok 4 /appinfo/portal-open-file
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/runtime
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Desktop
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/config
1530s # Got open file request for http://example.com
1530s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t
1530s # Response emitted
1530s # fake-desktop-portal cancelled
1530s ok 5 /appinfo/portal-open-uri
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/runtime
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Desktop
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/config
1530s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
1530s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1553687510
1530s # Response emitted
1530s # fake-desktop-portal cancelled
1530s ok 6 /appinfo/portal-open-file-async
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/runtime
1530s # Acquired a message bus connection
1530s # Acquired the name org.freedesktop.portal.Desktop
1530s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_JZL712/appinfo/portal-open-uri-async/.dirs/config
1530s # Got open file request for http://example.com
1530s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1197419370
1530s # Response emitted
1530s # fake-desktop-portal cancelled
1530s ok 7 /appinfo/portal-open-uri-async
1530s # End of appinfo tests
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s ok - glib/dbus-appinfo.test
1530s # Running test: glib/gdbus-proxy-well-known-name.test
1530s TAP version 14
1530s # random seed: R02S3ccf0470454c09a89a4cfd98f4fc9c0c
1530s 1..1
1530s # Start of gdbus tests
1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/home
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/cache
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/system-config2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/config
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/system-data2
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/data
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/state
1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_F9H612/gdbus/proxy-well-known-name/.dirs/runtime
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1530s ok 1 /gdbus/proxy-well-known-name
1530s # End of gdbus tests
1530s ok - glib/gdbus-proxy-well-known-name.test
1530s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=263.1s; system=83.7s; maxrss=149504
1531s autopkgtest [05:43:21]: test installed-tests: -----------------------]
1532s installed-tests PASS
1532s autopkgtest [05:43:22]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
1532s autopkgtest [05:43:22]: test closure-refcount: preparing testbed
1532s Reading package lists...
1533s Building dependency tree...
1533s Reading state information...
1533s Starting pkgProblemResolver with broken count: 0
1533s Starting 2 pkgProblemResolver with broken count: 0
1533s Done
1533s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1534s autopkgtest [05:43:24]: test closure-refcount: [-----------------------
1534s Running test: glib/closure-refcount.test
1534s TAP version 14
1534s # random seed: R02S303bc6e503751d5b347868b45396074e
1534s 1..1
1534s # Start of closure tests
1534s # Init 0x6bc084beda0
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from thread1
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from thread2
1534s # Yielding from main thread
1534s # Yielding from main thread
1534s # Yielding from thread1
1534s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from thread2
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from thread2
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from thread1
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from thread2
1535s # Yielding from main thread
1535s # Yielding from thread1
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from main thread
1535s # Yielding from thread2
1535s # Yielding from main thread
1535s # Yielding from thread1
1535s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread2
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread1
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread2
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread1
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread2
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from main thread
1536s # Yielding from thread1
1536s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from thread2
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from thread1
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from thread2
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from thread1
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from main thread
1537s # Yielding from thread2
1537s # Yielding from main thread
1537s # Yielding from thread1
1537s # Yielding from main thread
1537s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from thread2
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from thread1
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from thread2
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from thread1
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from thread2
1538s # Yielding from main thread
1538s # Yielding from thread1
1538s # Yielding from main thread
1538s # Yielding from main thread
1538s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from thread2
1539s # Yielding from main thread
1539s # Yielding from thread1
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from thread1
1539s # Yielding from thread2
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Yielding from main thread
1539s # Stopping
1539s # Stopped
1539s ok 1 /closure/refcount
1539s # slow test /closure/refcount executed in 5.16 secs
1539s # End of closure tests
1539s PASS: glib/closure-refcount.test
1539s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.3s; system=0.0s; maxrss=4096
1539s autopkgtest [05:43:29]: test closure-refcount: -----------------------]
1540s autopkgtest [05:43:30]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
1540s closure-refcount PASS
1540s autopkgtest [05:43:30]: test debugcontroller: preparing testbed
1541s Reading package lists...
1541s Building dependency tree...
1541s Reading state information...
1541s Starting pkgProblemResolver with broken count: 0
1541s Starting 2 pkgProblemResolver with broken count: 0
1541s Done
1541s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1542s autopkgtest [05:43:32]: test debugcontroller: [-----------------------
1542s Running test: glib/debugcontroller.test
1542s TAP version 14
1542s # random seed: R02Scc96e1214576cb41c1cc30e4cc7d2ba5
1542s 1..3
1542s # Start of debug-controller tests
1542s # Start of dbus tests
1542s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
1542s # GLib-GIO-DEBUG: Debug output enabled
1542s # GLib-GIO-DEBUG: Debug output disabled
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s ok 1 /debug-controller/dbus/basic
1542s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s ok 2 /debug-controller/dbus/duplicate
1542s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1542s # GLib-GIO-DEBUG: Debug output enabled
1542s # GLib-GIO-DEBUG: Debug output disabled
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1542s ok 3 /debug-controller/dbus/properties
1542s # End of dbus tests
1542s # End of debug-controller tests
1542s PASS: glib/debugcontroller.test
1542s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240
1543s autopkgtest [05:43:33]: test debugcontroller: -----------------------]
1543s debugcontroller PASS
1543s autopkgtest [05:43:33]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
1543s autopkgtest [05:43:33]: test gdbus-server-auth: preparing testbed
1544s Reading package lists...
1544s Building dependency tree...
1544s Reading state information...
1544s Starting pkgProblemResolver with broken count: 0
1544s Starting 2 pkgProblemResolver with broken count: 0
1544s Done
1544s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1545s autopkgtest [05:43:35]: test gdbus-server-auth: [-----------------------
1545s Running test: glib/gdbus-server-auth.test
1545s TAP version 14
1545s # random seed: R02S1c608d6a259e248aed452b76f68dcaff
1545s 1..9
1545s # Start of gdbus tests
1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/home
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/cache
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/system-config2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/config
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/system-data2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/data
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/state
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/.dirs/runtime
1545s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-A8C712 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1545s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-A8C712/dbus-2VyXT7tn
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1545s ok 1 /gdbus/server-auth
1545s # Start of server-auth tests
1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/home
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/cache
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/system-config2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/config
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/system-data2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/data
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/state
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/abstract/.dirs/runtime
1545s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-H5Y612 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1545s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-H5Y612/dbus-yXBQ6iQw
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1545s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1545s ok 2 /gdbus/server-auth/abstract
1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/home
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/cache
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/system-config2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/config
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/system-data2
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/data
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/state
1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/tcp/.dirs/runtime
1545s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1545s # Connectable address: tcp:host=127.0.0.1,port=36569
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1545s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1545s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1545s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1545s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1545s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1546s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1546s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1546s ok 3 /gdbus/server-auth/tcp
1546s # slow test /gdbus/server-auth/tcp executed in 0.90 secs
1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/home
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/cache
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/system-config2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/config
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/system-data2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/data
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/state
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/.dirs/runtime
1546s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-5X4212 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1546s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-5X4212/dbus-F0qPHspI
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1546s ok 4 /gdbus/server-auth/anonymous
1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/home
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/cache
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/system-config2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/config
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/system-data2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/data
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/state
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/.dirs/runtime
1546s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-XJM212 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1546s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-XJM212/dbus-n8R86l2S
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1546s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1546s ok 5 /gdbus/server-auth/external
1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/home
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/cache
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/system-config2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/config
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/system-data2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/data
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/state
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/.dirs/runtime
1546s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-Y7F312 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1546s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-Y7F312/dbus-mnRd7LA2
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1546s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1546s ok 6 /gdbus/server-auth/sha1
1546s # Start of anonymous tests
1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/home
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/cache
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/config
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/data
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/state
1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1546s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1546s # Connectable address: tcp:host=127.0.0.1,port=36729
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1546s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1546s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1546s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1546s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1546s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1547s ok 7 /gdbus/server-auth/anonymous/tcp
1547s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs
1547s # End of anonymous tests
1547s # Start of external tests
1547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/home
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/cache
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/config
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/data
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/state
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/external/require-same-user/.dirs/runtime
1547s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-KEW412 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1547s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AKE712/gdbus-server-auth-KEW412/dbus-Svlwd3Ib
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16072
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1547s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16072,uid=1000,gid=1000
1547s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16072
1547s ok 8 /gdbus/server-auth/external/require-same-user
1547s # End of external tests
1547s # Start of sha1 tests
1547s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/home
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/cache
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/config
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/data
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/state
1547s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AKE712/gdbus/server-auth/sha1/tcp/.dirs/runtime
1547s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1547s # Connectable address: tcp:host=127.0.0.1,port=33845
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1547s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1547s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1547s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1547s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1547s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1548s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1548s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1548s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1548s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1548s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1548s ok 9 /gdbus/server-auth/sha1/tcp
1548s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs
1548s # End of sha1 tests
1548s # End of server-auth tests
1548s # End of gdbus tests
1548s PASS: glib/gdbus-server-auth.test
1548s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192
1548s autopkgtest [05:43:38]: test gdbus-server-auth: -----------------------]
1549s autopkgtest [05:43:39]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
1549s gdbus-server-auth PASS
1549s autopkgtest [05:43:39]: test gdbus-threading: preparing testbed
1550s Reading package lists...
1550s Building dependency tree...
1550s Reading state information...
1550s Starting pkgProblemResolver with broken count: 0
1550s Starting 2 pkgProblemResolver with broken count: 0
1550s Done
1551s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1552s autopkgtest [05:43:42]: test gdbus-threading: [-----------------------
1552s Running test: glib/gdbus-threading.test
1552s TAP version 14
1552s # random seed: R02Sa196dc8981f288412f163f2bc39bda67
1552s 1..3
1552s # Start of gdbus tests
1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/home
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/cache
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/system-config2
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/config
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/system-data2
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/data
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/state
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_WL5012/gdbus/delivery-in-thread/.dirs/runtime
1552s ok 1 /gdbus/delivery-in-thread
1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/home
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/cache
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/system-config2
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/config
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/system-data2
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/data
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/state
1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_WL5012/gdbus/method-calls-in-thread/.dirs/runtime
1553s # GLib-GIO-DEBUG: refcount of 0x7eb5e6a8c10 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping
1553s ok 2 /gdbus/method-calls-in-thread
1553s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs
1553s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/home
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/cache
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/system-config2
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/config
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/system-data2
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/data
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/state
1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_WL5012/gdbus/threaded-singleton/.dirs/runtime
1553s # GLib-GIO-DEBUG: refcount of 0x7706e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1553s # GLib-GIO-DEBUG: refcount of 0x7706e0005a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1553s # GLib-GIO-DEBUG: refcount of 0x7706e0002160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1554s ok 3 /gdbus/threaded-singleton
1554s # slow test /gdbus/threaded-singleton executed in 1.43 secs
1554s # End of gdbus tests
1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1554s PASS: glib/gdbus-threading.test
1554s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=8192
1555s autopkgtest [05:43:45]: test gdbus-threading: -----------------------]
1555s gdbus-threading PASS
1555s autopkgtest [05:43:45]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
1556s autopkgtest [05:43:46]: test gmenumodel: preparing testbed
1556s Reading package lists...
1556s Building dependency tree...
1556s Reading state information...
1556s Starting pkgProblemResolver with broken count: 0
1556s Starting 2 pkgProblemResolver with broken count: 0
1556s Done
1556s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1557s autopkgtest [05:43:47]: test gmenumodel: [-----------------------
1557s Running test: glib/gmenumodel.test
1557s TAP version 14
1557s # random seed: R02S7afeb6ee34a3ec52c122262e92576197
1557s 1..15
1557s # Start of gmenu tests
1559s ok 1 /gmenu/equality
1559s # slow test /gmenu/equality executed in 1.71 secs
1561s ok 2 /gmenu/random
1561s # slow test /gmenu/random executed in 2.02 secs
1561s ok 3 /gmenu/attributes
1561s ok 4 /gmenu/links
1561s ok 5 /gmenu/mutable
1561s ok 6 /gmenu/convenience
1561s ok 7 /gmenu/menuitem
1561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
1561s ok 8 /gmenu/input-validation
1561s # Start of dbus tests
1562s ok 9 /gmenu/dbus/roundtrip
1562s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
1562s Executing: glib/gmenumodel.test
1563s ok 10 /gmenu/dbus/subscriptions
1564s ok 11 /gmenu/dbus/threaded
1564s # slow test /gmenu/dbus/threaded executed in 1.52 secs
1564s # Start of peer tests
1565s ok 12 /gmenu/dbus/peer/roundtrip
1565s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
1566s ok 13 /gmenu/dbus/peer/subscriptions
1566s # End of peer tests
1566s # Start of export tests
1566s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1566s ok 14 /gmenu/dbus/export/error-handling
1566s # End of export tests
1566s # End of dbus tests
1566s # Start of attributes tests
1566s ok 15 /gmenu/attributes/iterate
1566s # End of attributes tests
1566s # End of gmenu tests
1566s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1566s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1566s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1566s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1566s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1566s PASS: glib/gmenumodel.test
1566s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.5s; system=0.2s; maxrss=24576
1566s autopkgtest [05:43:56]: test gmenumodel: -----------------------]
1566s gmenumodel PASS
1566s autopkgtest [05:43:56]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
1567s autopkgtest [05:43:57]: test mainloop: preparing testbed
1567s Reading package lists...
1567s Building dependency tree...
1567s Reading state information...
1567s Starting pkgProblemResolver with broken count: 0
1567s Starting 2 pkgProblemResolver with broken count: 0
1567s Done
1568s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1569s autopkgtest [05:43:59]: test mainloop: [-----------------------
1569s Running test: glib/mainloop.test
1569s TAP version 14
1569s # random seed: R02S1bb805440d636c2609e1b889f2f794d6
1569s 1..45
1569s # Start of maincontext tests
1569s ok 1 /maincontext/basic
1569s # Add same-priority sources: 36
1569s # Find each source: 9
1569s # Remove in random order: 57
1569s ok 2 /maincontext/nsources_same_priority
1569s # Add different-priority sources: 64
1569s # Find each source: 10
1569s # Remove in random order: 55
1569s ok 3 /maincontext/nsources_different_priority
1570s # Add sources from threads: 265
1570s # Remove sources from threads: 113
1570s ok 4 /maincontext/nsources_threadpool
1570s ok 5 /maincontext/source_finalization
1570s # /maincontext/idle-once summary: Test g_idle_add_once() works
1570s ok 6 /maincontext/idle-once
1570s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
1570s ok 7 /maincontext/timeout-once
1570s # Start of source_finalization_from_source tests
1570s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 8 /maincontext/source_finalization_from_source/0
1570s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 9 /maincontext/source_finalization_from_source/1
1570s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 10 /maincontext/source_finalization_from_source/2
1570s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 11 /maincontext/source_finalization_from_source/3
1570s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 12 /maincontext/source_finalization_from_source/4
1570s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 13 /maincontext/source_finalization_from_source/5
1570s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 14 /maincontext/source_finalization_from_source/6
1570s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 15 /maincontext/source_finalization_from_source/7
1570s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 16 /maincontext/source_finalization_from_source/8
1570s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1570s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1570s ok 17 /maincontext/source_finalization_from_source/9
1570s # End of source_finalization_from_source tests
1570s # Start of source_finalization_from_dispatch tests
1570s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1570s ok 18 /maincontext/source_finalization_from_dispatch/0
1570s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1570s ok 19 /maincontext/source_finalization_from_dispatch/1
1570s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1570s ok 20 /maincontext/source_finalization_from_dispatch/2
1570s # End of source_finalization_from_dispatch tests
1570s # End of maincontext tests
1570s # Start of mainloop tests
1570s ok 21 /mainloop/basic
1570s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
1570s ok 23 /mainloop/priorities
1570s ok 24 /mainloop/invoke
1570s # slow test /mainloop/invoke executed in 0.50 secs
1571s ok 25 /mainloop/child_sources
1571s # slow test /mainloop/child_sources executed in 1.18 secs
1574s ok 26 /mainloop/recursive_child_sources
1574s # slow test /mainloop/recursive_child_sources executed in 2.16 secs
1574s ok 27 /mainloop/recursive_loop_child_sources
1574s ok 28 /mainloop/swapping_child_sources
1574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
1574s ok 29 /mainloop/blocked_child_sources
1574s Executing: glib/mainloop.test
1575s ok 30 /mainloop/source_time
1575s # slow test /mainloop/source_time executed in 1.00 secs
1575s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
1575s ok 31 /mainloop/overflow
1575s ok 32 /mainloop/ready-time
1575s # slow test /mainloop/ready-time executed in 0.50 secs
1575s ok 33 /mainloop/wakeup
1575s ok 34 /mainloop/remove-invalid
1575s ok 35 /mainloop/unref-while-pending
1577s ok 36 /mainloop/unix-fd
1577s # slow test /mainloop/unix-fd executed in 1.93 secs
1577s ok 37 /mainloop/unix-fd-source
1577s ok 38 /mainloop/source-unix-fd-api
1577s ok 39 /mainloop/wait
1577s ok 40 /mainloop/unix-file-poll
1577s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
1577s ok 41 /mainloop/unix-fd-priority
1577s ok 42 /mainloop/nfds
1577s ok 43 /mainloop/steal-fd
1577s # Start of ownerless-polling tests
1577s ok 44 /mainloop/ownerless-polling/attach-first
1577s ok 45 /mainloop/ownerless-polling/pop-first
1577s # End of ownerless-polling tests
1577s # End of mainloop tests
1577s PASS: glib/mainloop.test
1577s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=1.5s; maxrss=16384
1578s autopkgtest [05:44:08]: test mainloop: -----------------------]
1578s mainloop PASS
1578s autopkgtest [05:44:08]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
1578s autopkgtest [05:44:08]: test memory-monitor-dbus: preparing testbed
1579s Reading package lists...
1579s Building dependency tree...
1579s Reading state information...
1579s Starting pkgProblemResolver with broken count: 0
1579s Starting 2 pkgProblemResolver with broken count: 0
1579s Done
1579s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1580s autopkgtest [05:44:10]: test memory-monitor-dbus: [-----------------------
1580s Running test: glib/memory-monitor-dbus.test
1581s TAP version 13
1581s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
1581s # Received memory warning signal, level
1581s # Received memory warning signal, level
1581s # Received memory warning signal, level
1581s 1..1
1581s PASS: glib/memory-monitor-dbus.test
1581s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.0s; maxrss=34816
1581s autopkgtest [05:44:11]: test memory-monitor-dbus: -----------------------]
1582s memory-monitor-dbus PASS
1582s autopkgtest [05:44:12]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
1582s autopkgtest [05:44:12]: test socket: preparing testbed
1582s Reading package lists...
1583s Building dependency tree...
1583s Reading state information...
1583s Starting pkgProblemResolver with broken count: 0
1583s Starting 2 pkgProblemResolver with broken count: 0
1583s Done
1583s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1584s autopkgtest [05:44:14]: test socket: [-----------------------
1584s Running test: glib/socket.test
1584s TAP version 14
1584s # random seed: R02S316b25e3b18ec29fbc98bae1d23b8364
1584s 1..28
1584s # Start of socket tests
1585s ok 1 /socket/ipv4_sync
1585s # slow test /socket/ipv4_sync executed in 1.00 secs
1586s ok 2 /socket/ipv4_async
1586s # slow test /socket/ipv4_async executed in 1.00 secs
1586s ok 3 /socket/ipv6_sync
1586s ok 4 /socket/ipv6_async
1586s ok 5 /socket/ipv6_v4mapped
1587s ok 6 /socket/close_graceful
1587s # slow test /socket/close_graceful executed in 1.00 secs
1587s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
1587s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
1587s ok 8 /socket/fd_reuse
1587s ok 9 /socket/address
1587s ok 10 /socket/unix-from-fd
1587s ok 11 /socket/unix-connection
1587s ok 12 /socket/unix-connection-ancillary-data
1587s ok 13 /socket/source-postmortem
1587s ok 14 /socket/read_write
1587s ok 15 /socket/read_writev
1587s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
1587s ok 16 /socket/receive_bytes
1587s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
1587s ok 17 /socket/receive_bytes_from
1587s # Start of ipv4_sync tests
1587s ok 18 /socket/ipv4_sync/datagram
1587s # Start of datagram tests
1588s ok 19 /socket/ipv4_sync/datagram/timeouts
1588s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
1588s # End of datagram tests
1588s # End of ipv4_sync tests
1588s # Start of ipv6_sync tests
1588s ok 20 /socket/ipv6_sync/datagram
1588s # Start of datagram tests
1589s Executing: glib/socket.test
1590s ok 21 /socket/ipv6_sync/datagram/timeouts
1590s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
1590s # End of datagram tests
1590s # End of ipv6_sync tests
1590s # Start of reuse tests
1590s ok 22 /socket/reuse/tcp
1590s ok 23 /socket/reuse/udp
1590s # End of reuse tests
1590s # Start of get_available tests
1590s ok 24 /socket/get_available/datagram
1590s ok 25 /socket/get_available/stream
1590s # End of get_available tests
1590s # Start of credentials tests
1590s # Supported on this OS: GCredentials:linux-ucred:pid=0
1590s ok 26 /socket/credentials/tcp_client
1590s # Supported on this OS: GCredentials:linux-ucred:pid=0
1590s ok 27 /socket/credentials/tcp_server
1590s # Supported on this OS: GCredentials:linux-ucred:pid=17907,uid=1000,gid=1000
1590s ok 28 /socket/credentials/unix_socketpair
1590s # End of credentials tests
1590s # End of socket tests
1590s PASS: glib/socket.test
1590s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192
1590s autopkgtest [05:44:20]: test socket: -----------------------]
1591s socket PASS
1591s autopkgtest [05:44:21]: test socket: - - - - - - - - - - results - - - - - - - - - -
1591s autopkgtest [05:44:21]: test testfilemonitor: preparing testbed
1591s Reading package lists...
1592s Building dependency tree...
1592s Reading state information...
1592s Starting pkgProblemResolver with broken count: 0
1592s Starting 2 pkgProblemResolver with broken count: 0
1592s Done
1592s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1593s autopkgtest [05:44:23]: test testfilemonitor: [-----------------------
1593s Running test: glib/testfilemonitor.test
1593s TAP version 14
1593s # random seed: R02Sc8fbf1be0860af167186a25d3455941b
1593s 1..8
1593s # Start of monitor tests
1593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1593s # Using temporary directory: /tmp/gio-test-testfilemonitor_DXW912
1593s # Using GFileMonitor GInotifyFileMonitor
1595s ok 1 /monitor/atomic-replace
1595s # slow test /monitor/atomic-replace executed in 2.00 secs
1595s # Using temporary directory: /tmp/gio-test-testfilemonitor_CZ0912
1595s # Using GFileMonitor GInotifyFileMonitor
1598s ok 2 /monitor/file-changes
1598s # slow test /monitor/file-changes executed in 2.50 secs
1598s # Using temporary directory: /tmp/gio-test-testfilemonitor_DLTL22
1598s # Using GFileMonitor GInotifyFileMonitor
1598s Executing: glib/testfilemonitor.test
1601s ok 3 /monitor/dir-monitor
1601s # slow test /monitor/dir-monitor executed in 3.50 secs
1601s # Using temporary directory: /tmp/gio-test-testfilemonitor_3NU912
1601s # Using GFileMonitor GInotifyFileMonitor
1603s Executing: glib/testfilemonitor.test
1608s Executing: glib/testfilemonitor.test
1613s Executing: glib/testfilemonitor.test
1618s Executing: glib/testfilemonitor.test
1623s Executing: glib/testfilemonitor.test
1626s ok 4 /monitor/dir-not-existent
1626s # slow test /monitor/dir-not-existent executed in 25.02 secs
1626s # Using temporary directory: /tmp/gio-test-testfilemonitor_TWOA22
1626s # Using GFileMonitor 0 GInotifyFileMonitor
1626s # Using GFileMonitor 1 GInotifyFileMonitor
1628s Executing: glib/testfilemonitor.test
1628s ok 5 /monitor/cross-dir-moves
1628s # slow test /monitor/cross-dir-moves executed in 2.00 secs
1628s # Using temporary directory: /tmp/gio-test-testfilemonitor_DIPA22
1628s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock.
1628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
1628s ok 6 /monitor/finalize-in-callback
1628s # Using temporary directory: /tmp/gio-test-testfilemonitor_KFGA22
1628s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1628s ok 7 /monitor/root
1628s # Start of file tests
1628s # Using temporary directory: /tmp/gio-test-testfilemonitor_6IGA22
1628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
1628s # Running with hard link tests
1628s # Using GFileMonitor GInotifyFileMonitor
1632s # Event 0 at expected index 7 skipped because it is marked as optional
1632s # Event 2 at expected index 11 skipped because it is marked as optional
1632s ok 8 /monitor/file/hard-links
1632s # slow test /monitor/file/hard-links executed in 3.50 secs
1632s # End of file tests
1632s # End of monitor tests
1632s PASS: glib/testfilemonitor.test
1632s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192
1632s autopkgtest [05:45:02]: test testfilemonitor: -----------------------]
1633s autopkgtest [05:45:03]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
1633s testfilemonitor PASS
1633s autopkgtest [05:45:03]: test thread-pool-slow: preparing testbed
1634s Reading package lists...
1634s Building dependency tree...
1634s Reading state information...
1634s Starting pkgProblemResolver with broken count: 0
1634s Starting 2 pkgProblemResolver with broken count: 0
1634s Done
1634s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1635s autopkgtest [05:45:05]: test thread-pool-slow: [-----------------------
1635s Running test: glib/thread-pool-slow.test
1635s TAP version 14
1635s # random seed: R02S24efd33bce0f72d32a29992849cd0ee5
1635s 1..7
1635s # Start of threadpool tests
1635s ok 1 /threadpool/functions
1636s ok 2 /threadpool/stop-unused
1636s # slow test /threadpool/stop-unused executed in 0.51 secs
1636s ok 3 /threadpool/pools
1636s # [unsorted] ===> pushed new thread with id:11, number of threads:1, unprocessed:1
1636s # [unsorted] ===> pushed new thread with id:32, number of threads:2, unprocessed:2
1636s # [unsorted] ===> pushed new thread with id:88, number of threads:3, unprocessed:3
1636s # [unsorted] ===> pushed new thread with id:68, number of threads:4, unprocessed:3
1636s # [unsorted] ===> pushed new thread with id:63, number of threads:5, unprocessed:4
1636s # [unsorted] ===> pushed new thread with id:23, number of threads:6, unprocessed:5
1636s # [unsorted] ===> pushed new thread with id:23, number of threads:7, unprocessed:6
1636s # [unsorted] ===> pushed new thread with id:51, number of threads:8, unprocessed:7
1636s # [unsorted] ===> pushed new thread with id:22, number of threads:9, unprocessed:8
1636s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:9
1636s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:7
1636s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:5
1636s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:4
1636s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:4
1636s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:5
1636s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:6
1636s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:7
1636s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:8
1636s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:9
1636s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:10
1636s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:11
1636s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:12
1636s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:13
1636s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:14
1636s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:15
1636s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:16
1636s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:17
1636s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:18
1636s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:19
1636s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:20
1636s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:21
1636s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:22
1636s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:23
1636s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:24
1636s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:25
1636s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:26
1636s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:27
1636s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:28
1636s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:29
1636s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:30
1636s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:31
1636s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:32
1636s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:33
1636s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:34
1636s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:35
1636s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:36
1636s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:37
1636s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:38
1636s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:39
1636s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:40
1636s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:41
1636s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:42
1636s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:43
1636s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:44
1636s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:45
1636s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:46
1636s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:47
1636s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:48
1636s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:49
1636s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:50
1636s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:51
1636s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:52
1636s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:53
1636s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:54
1636s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:55
1636s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:56
1636s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:57
1636s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:58
1636s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:59
1636s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:60
1636s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:61
1636s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:62
1636s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:63
1636s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:64
1636s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:65
1636s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:66
1636s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:67
1636s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:68
1636s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:69
1636s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:70
1636s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:71
1636s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:72
1636s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:73
1636s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:74
1636s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:75
1636s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:76
1636s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:77
1636s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:78
1636s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:79
1636s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:80
1636s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:81
1636s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:82
1636s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:83
1636s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:84
1636s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:85
1636s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:86
1636s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:87
1636s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:88
1636s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:89
1636s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:90
1636s ok 4 /threadpool/no-sort
1636s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:1
1636s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:2
1636s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:3
1636s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:4
1636s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:5
1636s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:6
1636s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:7
1636s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:8
1636s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:9
1636s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:10
1636s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:11
1636s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:12
1636s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:13
1636s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:14
1636s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:15
1636s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:16
1636s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:17
1636s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:18
1636s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:19
1636s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:20
1636s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:21
1636s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:22
1636s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:23
1636s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:24
1636s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:25
1636s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:26
1636s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:27
1636s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:28
1636s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:29
1636s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:30
1636s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:31
1636s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:32
1636s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:33
1636s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:34
1636s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:35
1636s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:36
1636s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:37
1636s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:38
1636s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:39
1636s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:40
1636s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:41
1636s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:42
1636s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:43
1636s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:44
1636s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:45
1636s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:46
1636s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:47
1636s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:48
1636s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:49
1636s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:50
1636s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:51
1636s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:52
1636s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:53
1636s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:54
1636s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:55
1636s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:56
1636s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:57
1636s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:58
1636s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:59
1636s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:60
1636s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:61
1636s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:62
1636s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:63
1636s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:64
1636s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:65
1636s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:66
1636s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:67
1636s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:68
1636s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:69
1636s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:70
1636s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:71
1636s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:72
1636s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:73
1636s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:74
1636s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:75
1636s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:76
1636s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:77
1636s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:78
1636s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:79
1636s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:80
1636s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:81
1636s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:82
1636s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:83
1636s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:84
1636s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:85
1636s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86
1636s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:87
1636s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:88
1636s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:89
1636s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:90
1636s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:91
1636s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:92
1636s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:93
1636s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:94
1636s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:95
1636s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:96
1636s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:97
1636s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:98
1636s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:99
1636s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:100
1636s # Starting thread pool processing
1636s ok 5 /threadpool/sort
1636s ok 6 /threadpool/stop-unused-multiple
1636s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs
1636s # Pool idle thread count: 0, unprocessed jobs: 40
1637s # Pool idle thread count: 0, unprocessed jobs: 0
1637s # Pool idle thread count: 0, unprocessed jobs: 0
1637s # Pool idle thread count: 10, unprocessed jobs: 0
1637s # Pool idle thread count: 10, unprocessed jobs: 0
1638s # Pool idle thread count: 10, unprocessed jobs: 0
1638s # Pool idle thread count: 10, unprocessed jobs: 0
1638s # Pool idle thread count: 10, unprocessed jobs: 0
1638s # Pool idle thread count: 10, unprocessed jobs: 0
1639s # Pool idle thread count: 10, unprocessed jobs: 0
1639s # Pool idle thread count: 10, unprocessed jobs: 0
1639s # Pool idle thread count: 10, unprocessed jobs: 0
1639s # Pool idle thread count: 10, unprocessed jobs: 0
1640s # Pool idle thread count: 10, unprocessed jobs: 0
1640s # Pool idle thread count: 10, unprocessed jobs: 0
1640s # Pool idle thread count: 10, unprocessed jobs: 0
1640s # Pool idle thread count: 10, unprocessed jobs: 0
1640s Executing: glib/thread-pool-slow.test
1641s # Pool idle thread count: 10, unprocessed jobs: 0
1641s # Pool idle thread count: 10, unprocessed jobs: 0
1641s # Pool idle thread count: 10, unprocessed jobs: 0
1641s # Pool idle thread count: 10, unprocessed jobs: 0
1642s # Pool idle thread count: 10, unprocessed jobs: 0
1642s # Pool idle thread count: 10, unprocessed jobs: 0
1642s # Pool idle thread count: 10, unprocessed jobs: 0
1642s # Pool idle thread count: 10, unprocessed jobs: 0
1643s # Pool idle thread count: 10, unprocessed jobs: 0
1643s # Pool idle thread count: 10, unprocessed jobs: 0
1643s # Pool idle thread count: 10, unprocessed jobs: 0
1643s # Pool idle thread count: 10, unprocessed jobs: 0
1644s # Pool idle thread count: 10, unprocessed jobs: 0
1644s # Pool idle thread count: 10, unprocessed jobs: 0
1644s # Pool idle thread count: 10, unprocessed jobs: 0
1644s # Pool idle thread count: 10, unprocessed jobs: 0
1645s # Pool idle thread count: 10, unprocessed jobs: 0
1645s # Pool idle thread count: 10, unprocessed jobs: 0
1645s # Pool idle thread count: 10, unprocessed jobs: 2
1645s # Pool idle thread count: 8, unprocessed jobs: 0
1645s # Pool idle thread count: 8, unprocessed jobs: 0
1645s # Pool idle thread count: 8, unprocessed jobs: 0
1645s Executing: glib/thread-pool-slow.test
1646s # Pool idle thread count: 10, unprocessed jobs: 0
1646s # Pool idle thread count: 10, unprocessed jobs: 0
1646s # Pool idle thread count: 10, unprocessed jobs: 0
1646s # Pool idle thread count: 10, unprocessed jobs: 0
1647s # Pool idle thread count: 10, unprocessed jobs: 0
1647s # Pool idle thread count: 10, unprocessed jobs: 0
1647s # Pool idle thread count: 2, unprocessed jobs: 0
1647s # Pool idle thread count: 2, unprocessed jobs: 0
1648s # Pool idle thread count: 2, unprocessed jobs: 0
1648s # Pool idle thread count: 2, unprocessed jobs: 0
1648s # Pool idle thread count: 2, unprocessed jobs: 0
1648s # Pool idle thread count: 2, unprocessed jobs: 0
1649s # Pool idle thread count: 2, unprocessed jobs: 0
1649s # Pool idle thread count: 2, unprocessed jobs: 0
1649s # Pool idle thread count: 2, unprocessed jobs: 0
1649s # Pool idle thread count: 2, unprocessed jobs: 0
1650s # Pool idle thread count: 2, unprocessed jobs: 0
1650s # Pool idle thread count: 2, unprocessed jobs: 0
1650s # Pool idle thread count: 2, unprocessed jobs: 0
1650s # Pool idle thread count: 2, unprocessed jobs: 0
1650s Executing: glib/thread-pool-slow.test
1651s # Pool idle thread count: 2, unprocessed jobs: 0
1651s # Pool idle thread count: 2, unprocessed jobs: 0
1651s # Pool idle thread count: 2, unprocessed jobs: 0
1651s # Pool idle thread count: 2, unprocessed jobs: 0
1652s # Pool idle thread count: 2, unprocessed jobs: 0
1652s # Pool idle thread count: 2, unprocessed jobs: 0
1652s # Pool idle thread count: 2, unprocessed jobs: 0
1652s # Pool idle thread count: 2, unprocessed jobs: 0
1653s # Pool idle thread count: 2, unprocessed jobs: 0
1653s # Pool idle thread count: 2, unprocessed jobs: 0
1653s # Pool idle thread count: 2, unprocessed jobs: 0
1653s # Pool idle thread count: 2, unprocessed jobs: 0
1654s # Pool idle thread count: 2, unprocessed jobs: 0
1654s # Pool idle thread count: 2, unprocessed jobs: 0
1654s # Pool idle thread count: 2, unprocessed jobs: 0
1654s # Pool idle thread count: 2, unprocessed jobs: 0
1655s # Pool idle thread count: 2, unprocessed jobs: 0
1655s # Pool idle thread count: 2, unprocessed jobs: 0
1655s # Pool idle thread count: 2, unprocessed jobs: 0
1655s # Pool idle thread count: 2, unprocessed jobs: 0
1655s Executing: glib/thread-pool-slow.test
1656s ok 7 /threadpool/idle-time
1656s # slow test /threadpool/idle-time executed in 19.52 secs
1656s # End of threadpool tests
1656s PASS: glib/thread-pool-slow.test
1656s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=10240
1656s autopkgtest [05:45:26]: test thread-pool-slow: -----------------------]
1657s thread-pool-slow PASS
1657s autopkgtest [05:45:27]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
1657s autopkgtest [05:45:27]: test threadtests: preparing testbed
1657s Reading package lists...
1657s Building dependency tree...
1657s Reading state information...
1658s Starting pkgProblemResolver with broken count: 0
1658s Starting 2 pkgProblemResolver with broken count: 0
1658s Done
1658s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1659s autopkgtest [05:45:29]: test threadtests: [-----------------------
1659s Running test: glib/threadtests.test
1659s TAP version 14
1659s # random seed: R02S8cf0ba87d39b3cd9b6e5067c94792e6a
1659s 1..5
1659s # Start of GObject tests
1659s ok 1 /GObject/threaded-object-init
1660s ok 2 /GObject/threaded-weak-ref
1660s # slow test /GObject/threaded-weak-ref executed in 0.91 secs
1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
1660s # /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
1661s ok 3 /GObject/threaded-toggle-notify
1661s # slow test /GObject/threaded-toggle-notify executed in 0.62 secs
1661s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1661s # Start of threaded-weak-ref tests
1661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1661s # /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.
1661s ok 5 /GObject/threaded-weak-ref/on-finalization
1661s # End of threaded-weak-ref tests
1661s # End of GObject tests
1661s PASS: glib/threadtests.test
1661s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.4s; system=0.5s; maxrss=4096
1661s autopkgtest [05:45:31]: test threadtests: -----------------------]
1662s autopkgtest [05:45:32]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
1662s threadtests PASS
1662s autopkgtest [05:45:32]: test timeout: preparing testbed
1662s Reading package lists...
1662s Building dependency tree...
1662s Reading state information...
1663s Starting pkgProblemResolver with broken count: 0
1663s Starting 2 pkgProblemResolver with broken count: 0
1663s Done
1663s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1664s autopkgtest [05:45:34]: test timeout: [-----------------------
1664s Running test: glib/timeout.test
1664s TAP version 14
1664s # random seed: R02S0c1df15abd06f9ec9b5cf533585301bd
1664s 1..5
1664s # Start of timeout tests
1664s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1666s ok 1 /timeout/seconds
1666s # slow test /timeout/seconds executed in 2.10 secs
1668s ok 2 /timeout/seconds-once
1668s # slow test /timeout/seconds-once executed in 2.10 secs
1668s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1669s Executing: glib/timeout.test
1670s ok 3 /timeout/weeks-overflow
1670s # slow test /timeout/weeks-overflow executed in 2.10 secs
1670s ok 4 /timeout/far-future-ready-time
1674s Executing: glib/timeout.test
1679s Executing: glib/timeout.test
1680s ok 5 /timeout/rounding
1680s # slow test /timeout/rounding executed in 10.04 secs
1680s # End of timeout tests
1680s PASS: glib/timeout.test
1680s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048
1681s autopkgtest [05:45:51]: test timeout: -----------------------]
1681s timeout PASS
1681s autopkgtest [05:45:51]: test timeout: - - - - - - - - - - results - - - - - - - - - -
1682s autopkgtest [05:45:52]: test timer: preparing testbed
1682s Reading package lists...
1682s Building dependency tree...
1682s Reading state information...
1682s Starting pkgProblemResolver with broken count: 0
1682s Starting 2 pkgProblemResolver with broken count: 0
1682s Done
1682s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1683s autopkgtest [05:45:53]: test timer: [-----------------------
1684s Running test: glib/timer.test
1684s TAP version 14
1684s # random seed: R02Sed66375dbea24406998faf18a0ccbc5e
1684s 1..10
1684s # Start of timer tests
1684s ok 1 /timer/basic
1684s ok 2 /timer/stop
1684s ok 3 /timer/continue
1684s ok 4 /timer/reset
1684s ok 5 /timer/is_active
1684s # End of timer tests
1684s # Start of timeval tests
1684s ok 6 /timeval/add
1684s ok 7 /timeval/from-iso8601
1684s ok 8 /timeval/to-iso8601
1684s # Start of to-iso8601 tests
1684s ok 9 /timeval/to-iso8601/overflow
1684s # End of to-iso8601 tests
1684s # End of timeval tests
1684s # Start of usleep tests
1684s ok 10 /usleep/with-zero-wait
1684s # End of usleep tests
1684s PASS: glib/timer.test
1684s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048
1684s autopkgtest [05:45:54]: test timer: -----------------------]
1684s autopkgtest [05:45:54]: test timer: - - - - - - - - - - results - - - - - - - - - -
1684s timer PASS
1685s autopkgtest [05:45:55]: test 1065022-futureproofing: preparing testbed
1780s autopkgtest [05:47:30]: testbed dpkg architecture: ppc64el
1780s autopkgtest [05:47:30]: testbed apt version: 2.9.30ubuntu1
1781s autopkgtest [05:47:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1781s autopkgtest [05:47:31]: testbed release detected to be: plucky
1782s autopkgtest [05:47:32]: updating testbed package index (apt update)
1782s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB]
1783s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
1783s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
1783s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
1783s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.9 kB]
1783s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [504 kB]
1783s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B]
1783s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB]
1783s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [127 kB]
1783s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B]
1783s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [432 kB]
1783s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [3292 B]
1783s Fetched 1276 kB in 1s (1329 kB/s)
1784s Reading package lists...
1785s Reading package lists...
1785s Building dependency tree...
1785s Reading state information...
1786s Calculating upgrade...
1786s Calculating upgrade...
1786s The following packages will be upgraded:
1786s curl libcurl3t64-gnutls libcurl4t64
1786s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1786s Need to get 1221 kB of archives.
1786s After this operation, 3072 B disk space will be freed.
1786s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el curl ppc64el 8.12.1-2ubuntu1 [258 kB]
1786s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcurl4t64 ppc64el 8.12.1-2ubuntu1 [482 kB]
1786s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcurl3t64-gnutls ppc64el 8.12.1-2ubuntu1 [481 kB]
1787s Fetched 1221 kB in 1s (1933 kB/s)
1787s (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 ... 106371 files and directories currently installed.)
1787s Preparing to unpack .../curl_8.12.1-2ubuntu1_ppc64el.deb ...
1787s Unpacking curl (8.12.1-2ubuntu1) over (8.12.0+git20250209.89ed161+ds-1ubuntu1) ...
1787s Preparing to unpack .../libcurl4t64_8.12.1-2ubuntu1_ppc64el.deb ...
1787s Unpacking libcurl4t64:ppc64el (8.12.1-2ubuntu1) over (8.12.0+git20250209.89ed161+ds-1ubuntu1) ...
1787s Preparing to unpack .../libcurl3t64-gnutls_8.12.1-2ubuntu1_ppc64el.deb ...
1787s Unpacking libcurl3t64-gnutls:ppc64el (8.12.1-2ubuntu1) over (8.12.0+git20250209.89ed161+ds-1ubuntu1) ...
1787s Setting up libcurl4t64:ppc64el (8.12.1-2ubuntu1) ...
1787s Setting up libcurl3t64-gnutls:ppc64el (8.12.1-2ubuntu1) ...
1787s Setting up curl (8.12.1-2ubuntu1) ...
1787s Processing triggers for man-db (2.13.0-1) ...
1788s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1788s Reading package lists...
1788s Building dependency tree...
1788s Reading state information...
1789s Solving dependencies...
1789s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1789s autopkgtest [05:47:39]: upgrading testbed (apt dist-upgrade and autopurge)
1789s Reading package lists...
1789s Building dependency tree...
1789s Reading state information...
1789s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1790s Starting 2 pkgProblemResolver with broken count: 0
1790s Done
1790s Entering ResolveByKeep
1790s
1790s Calculating upgrade...
1790s The following packages will be upgraded:
1790s gir1.2-glib-2.0 libglib2.0-0t64 libglib2.0-data
1791s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1791s Need to get 2038 kB of archives.
1791s After this operation, 2048 B of additional disk space will be used.
1791s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.83.4-1 [184 kB]
1791s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.83.4-1 [1801 kB]
1791s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libglib2.0-data all 2.83.4-1 [52.9 kB]
1791s Fetched 2038 kB in 1s (3144 kB/s)
1791s (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 ... 106371 files and directories currently installed.)
1791s Preparing to unpack .../gir1.2-glib-2.0_2.83.4-1_ppc64el.deb ...
1791s Unpacking gir1.2-glib-2.0:ppc64el (2.83.4-1) over (2.83.3-2) ...
1792s Preparing to unpack .../libglib2.0-0t64_2.83.4-1_ppc64el.deb ...
1792s Unpacking libglib2.0-0t64:ppc64el (2.83.4-1) over (2.83.3-2) ...
1792s Preparing to unpack .../libglib2.0-data_2.83.4-1_all.deb ...
1792s Unpacking libglib2.0-data (2.83.4-1) over (2.83.3-2) ...
1792s Setting up libglib2.0-0t64:ppc64el (2.83.4-1) ...
1792s No schema files found: doing nothing.
1792s Setting up libglib2.0-data (2.83.4-1) ...
1792s Setting up gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
1792s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1792s Reading package lists...
1792s Building dependency tree...
1792s Reading state information...
1793s Starting pkgProblemResolver with broken count: 0
1793s Starting 2 pkgProblemResolver with broken count: 0
1793s Done
1793s Solving dependencies...
1793s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1797s Reading package lists...
1797s Building dependency tree...
1797s Reading state information...
1797s Starting pkgProblemResolver with broken count: 0
1797s Starting 2 pkgProblemResolver with broken count: 0
1797s Done
1798s The following NEW packages will be installed:
1798s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
1798s libdconf1
1798s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1798s Need to get 149 kB of archives.
1798s After this operation, 830 kB of additional disk space will be used.
1798s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-5 [43.7 kB]
1798s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-5 [30.8 kB]
1798s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-5 [26.0 kB]
1798s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB]
1798s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 48~beta-1ubuntu1 [37.4 kB]
1798s Fetched 149 kB in 0s (368 kB/s)
1798s Selecting previously unselected package libdconf1:ppc64el.
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 ... 106371 files and directories currently installed.)
1798s Preparing to unpack .../libdconf1_0.40.0-5_ppc64el.deb ...
1798s Unpacking libdconf1:ppc64el (0.40.0-5) ...
1798s Selecting previously unselected package dconf-service.
1798s Preparing to unpack .../dconf-service_0.40.0-5_ppc64el.deb ...
1798s Unpacking dconf-service (0.40.0-5) ...
1798s Selecting previously unselected package dconf-gsettings-backend:ppc64el.
1798s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_ppc64el.deb ...
1798s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-5) ...
1798s Selecting previously unselected package dpkg-repack.
1798s Preparing to unpack .../dpkg-repack_1.54_all.deb ...
1798s Unpacking dpkg-repack (1.54) ...
1798s Selecting previously unselected package gsettings-desktop-schemas.
1798s Preparing to unpack .../gsettings-desktop-schemas_48~beta-1ubuntu1_all.deb ...
1798s Unpacking gsettings-desktop-schemas (48~beta-1ubuntu1) ...
1798s Setting up dpkg-repack (1.54) ...
1798s Setting up libdconf1:ppc64el (0.40.0-5) ...
1798s Setting up dconf-service (0.40.0-5) ...
1798s Setting up dconf-gsettings-backend:ppc64el (0.40.0-5) ...
1798s Setting up gsettings-desktop-schemas (48~beta-1ubuntu1) ...
1798s Processing triggers for man-db (2.13.0-1) ...
1799s Processing triggers for libglib2.0-0t64:ppc64el (2.83.4-1) ...
1799s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1812s autopkgtest [05:48:02]: test 1065022-futureproofing: [-----------------------
1812s + export DEBIAN_FRONTEND=noninteractive
1812s + n=0
1812s + failed=0
1812s + binary_package=libglib2.0-0t64
1812s + future_binary_package=libglib2.0-0xyz
1812s + pwd
1812s + srcdir=/tmp/autopkgtest.KiJfL4/build.2Uo/src
1812s + mktemp -d
1812s + tmpdir=/tmp/tmp.NxB4I7aqcK
1812s + cd /tmp/tmp.NxB4I7aqcK
1812s + [ -e /tmp/autopkgtest.KiJfL4/build.2Uo/src/debian/tests/manual/local-1065022.sources ]
1812s + dpkg-query -W dpkg-repack
1812s dpkg-repack 1.54
1812s + dpkg-repack --generate libglib2.0-0t64
1813s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
1813s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.UWvELa for libglib2.0-0t64
1813s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.UWvELa ."
1813s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.UWvELa/DEBIAN/control
1813s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.UWvELa/DEBIAN/control
1813s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.UWvELa/DEBIAN/control
1813s + env binary_package=libglib2.0-0t64 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}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.UWvELa/DEBIAN/control
1813s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.UWvELa libglib2.0-0xyz.deb
1813s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
1815s + apt-get -y install ./libglib2.0-0xyz.deb
1815s Reading package lists...
1815s Building dependency tree...
1815s Reading state information...
1816s Solving dependencies...
1816s The following packages were automatically installed and are no longer required:
1816s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1
1816s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64
1816s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3
1816s libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi
1816s python3-chardet python3-configobj python3-debconf python3-markdown-it
1816s python3-mdurl python3-openssl python3-problem-report python3-pygments
1816s python3-requests python3-rich python3-systemd python3-urllib3
1816s Use 'sudo apt autoremove' to remove them.
1816s The following additional packages will be installed:
1816s xdg-user-dirs
1816s Suggested packages:
1816s low-memory-monitor
1816s Recommended packages:
1816s shared-mime-info
1816s The following packages will be REMOVED:
1816s apport apport-core-dump-handler bolt cloud-init cloud-init-base
1816s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0
1816s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3
1816s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3
1816s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3
1816s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0
1816s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0
1816s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5
1816s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2
1816s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi
1816s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs
1816s The following NEW packages will be installed:
1816s libglib2.0-0xyz xdg-user-dirs
1816s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded.
1816s Need to get 20.1 kB/1821 kB of archives.
1816s After this operation, 44.3 MB disk space will be freed.
1816s Get:1 /tmp/tmp.NxB4I7aqcK/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.83.4-1 [1801 kB]
1816s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB]
1816s Fetched 20.1 kB in 0s (91.6 kB/s)
1816s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 106440 files and directories currently installed.)
1816s Removing bolt (0.9.8-1) ...
1817s Removing cloud-init (25.1-0ubuntu1) ...
1817s Removing cloud-init-base (25.1-0ubuntu1) ...
1817s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
1817s for fn in glob1(directory, "%s.*" % fname):
1817s Removing gsettings-desktop-schemas (48~beta-1ubuntu1) ...
1817s Removing dconf-gsettings-backend:ppc64el (0.40.0-5) ...
1818s Removing dconf-service (0.40.0-5) ...
1818s Removing fwupd (2.0.6-3) ...
1818s Removing networkd-dispatcher (2.2.4-1.1) ...
1818s Removing udisks2 (2.10.1-11ubuntu2) ...
1819s Removing libblockdev-crypto3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-fs3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-loop3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-mdraid3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-nvme3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-part3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-swap3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev3:ppc64el (3.3.0-1) ...
1819s Removing libblockdev-utils3:ppc64el (3.3.0-1) ...
1819s Removing libdconf1:ppc64el (0.40.0-5) ...
1819s Removing libfwupd3:ppc64el (2.0.6-3) ...
1819s Removing shared-mime-info (2.4-5) ...
1819s Removing xfsprogs (6.12.0-1ubuntu1) ...
1819s Removing python3-dbus (1.3.2-5build4) ...
1819s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
1819s for fn in glob1(directory, "%s.*" % fname):
1820s Removing libgudev-1.0-0:ppc64el (1:238-6) ...
1820s Removing libjcat1:ppc64el (0.2.0-2build3) ...
1820s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-1) ...
1820s Removing libqmi-proxy (1.35.6-1) ...
1820s Removing libqmi-glib5:ppc64el (1.35.6-1) ...
1820s Removing libmbim-proxy (1.31.2-0ubuntu4) ...
1820s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ...
1820s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu2) ...
1820s Removing ubuntu-minimal (1.547) ...
1820s Removing netplan.io (1.1.2-2ubuntu1) ...
1820s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed
1820s Removing python3-netplan (1.1.2-2ubuntu1) ...
1820s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
1820s for fn in glob1(directory, "%s.*" % fname):
1820s Removing netplan-generator (1.1.2-2ubuntu1) ...
1820s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed
1820s Removing libnetplan1:ppc64el (1.1.2-2ubuntu1) ...
1820s Removing libpolkit-agent-1-0:ppc64el (126-2) ...
1820s Removing libpolkit-gobject-1-0:ppc64el (126-2) ...
1820s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ...
1820s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu2) ...
1820s Removing libvolume-key1:ppc64el (0.3.12-9) ...
1820s Removing libxmlb2:ppc64el (0.3.21-1) ...
1820s Removing apport (2.31.0+git20250220-0ubuntu1) ...
1821s Removing apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ...
1821s Removing python3-gi (3.50.0-4) ...
1821s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead.
1821s for fn in glob1(directory, "%s.*" % fname):
1821s Removing gir1.2-girepository-2.0:ppc64el (1.82.0-4) ...
1821s Removing gir1.2-glib-2.0:ppc64el (2.83.4-1) ...
1821s Removing libgirepository-1.0-1:ppc64el (1.82.0-4) ...
1821s Removing libglib2.0-0t64:ppc64el (2.83.4-1) ...
1821s Selecting previously unselected package xdg-user-dirs.
1821s (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 ... 105291 files and directories currently installed.)
1821s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ...
1821s Unpacking xdg-user-dirs (0.18-2) ...
1821s Selecting previously unselected package libglib2.0-0xyz:ppc64el.
1821s Preparing to unpack .../libglib2.0-0xyz.deb ...
1822s Unpacking libglib2.0-0xyz:ppc64el (2.83.4-1) ...
1822s Setting up xdg-user-dirs (0.18-2) ...
1822s Setting up libglib2.0-0xyz:ppc64el (2.83.4-1) ...
1822s No schema files found: removed existing output file.
1822s Processing triggers for dbus (1.16.0-1ubuntu1) ...
1822s Processing triggers for initramfs-tools (0.145ubuntu2) ...
1822s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic
1822s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
1831s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1831s Processing triggers for man-db (2.13.0-1) ...
1832s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1832s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1832s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1832s + n=1
1832s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1832s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1832s + failed=1
1832s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1832s + n=2
1832s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1832s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1832s + failed=1
1832s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1832s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1832s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1832s + n=3
1832s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1832s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1832s + failed=1
1832s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1832s + n=4
1832s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1832s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1832s + failed=1
1832s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1832s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1832s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1832s + n=5
1832s + test -e /usr/lib/*/gio/modules/giomodule.cache
1832s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1832s + failed=1
1832s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
1832s + n=6
1832s + test -s /usr/lib/*/gio/modules/giomodule.cache
1832s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1832s + failed=1
1832s + apt-get -y purge libglib2.0-0t64
1832s Reading package lists...
1832s Building dependency tree...
1832s Reading state information...
1832s The following packages were automatically installed and are no longer required:
1832s apport-symptoms exfatprogs jq libatasmart4 libbytesize-common libbytesize1
1832s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64
1832s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3
1832s libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi
1832s python3-chardet python3-configobj python3-debconf python3-markdown-it
1832s python3-mdurl python3-openssl python3-problem-report python3-pygments
1832s python3-requests python3-rich python3-systemd python3-urllib3
1832s Use 'sudo apt autoremove' to remove them.
1832s The following packages will be REMOVED:
1832s libglib2.0-0t64*
1833s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1833s After this operation, 0 B of additional disk space will be used.
1833s (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 ... 105326 files and directories currently installed.)
1833s Purging configuration files for libglib2.0-0t64:ppc64el (2.83.4-1) ...
1833s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1833s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1833s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1833s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1833s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1833s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1833s Reading package lists...
1833s Building dependency tree...+ assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1833s + n=7
1833s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1833s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1833s + failed=1
1833s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1833s + n=8
1833s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1833s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1833s + failed=1
1833s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1833s + n=9
1833s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1833s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1833s + failed=1
1833s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1833s + n=10
1833s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1833s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1833s + failed=1
1833s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1833s + n=11
1833s + test -e /usr/lib/*/gio/modules/giomodule.cache
1833s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1833s + failed=1
1833s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
1833s + n=12
1833s + test -s /usr/lib/*/gio/modules/giomodule.cache
1833s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1833s + failed=1
1833s + apt-get -y purge libglib2.0-0xyz
1833s
1833s Reading state information...
1833s The following packages were automatically installed and are no longer required:
1833s apport-symptoms exfatprogs jq libatasmart4 libatomic1 libbytesize-common
1833s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2
1833s libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1
1833s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1
1833s python3-apport python3-certifi python3-chardet python3-configobj
1833s python3-debconf python3-markdown-it python3-mdurl python3-openssl
1833s python3-problem-report python3-pygments python3-requests python3-rich
1833s python3-systemd python3-urllib3 xdg-user-dirs
1833s Use 'sudo apt autoremove' to remove them.
1833s The following packages will be REMOVED:
1833s libglib2.0-0xyz*
1834s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1834s After this operation, 6084 kB disk space will be freed.
1834s (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 ... 105326 files and directories currently installed.)
1834s Removing libglib2.0-0xyz:ppc64el (2.83.4-1) ...
1834s Processing triggers for libc-bin (2.40-4ubuntu1) ...
1834s (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 ... 105301 files and directories currently installed.)
1834s Purging configuration files for libglib2.0-0xyz:ppc64el (2.83.4-1) ...
1834s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1834s + n=13
1834s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1834s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1834s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1834s + n=14
1834s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1834s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1834s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1834s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1834s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1834s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so
1834s + n=15
1834s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1834s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1834s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache
1834s + n=16
1834s + test -e /usr/lib/*/gio/modules/giomodule.cache
1834s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1834s + echo 1..16
1834s + exit 1
1834s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1834s 1..16
1834s autopkgtest [05:48:24]: test 1065022-futureproofing: -----------------------]
1835s autopkgtest [05:48:25]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
1835s 1065022-futureproofing FLAKY non-zero exit status 1
1835s autopkgtest [05:48:25]: @@@@@@@@@@@@@@@@@@@@ summary
1835s build PASS (superficial)
1835s build-static PASS (superficial)
1835s girepository-tools PASS (superficial)
1835s libgio-2.0-dev-bin PASS (superficial)
1835s libglib2.0-dev PASS (superficial)
1835s installed-tests PASS
1835s closure-refcount PASS
1835s debugcontroller PASS
1835s gdbus-server-auth PASS
1835s gdbus-threading PASS
1835s gmenumodel PASS
1835s mainloop PASS
1835s memory-monitor-dbus PASS
1835s socket PASS
1835s testfilemonitor PASS
1835s thread-pool-slow PASS
1835s threadtests PASS
1835s timeout PASS
1835s timer PASS
1835s 1065022-futureproofing FLAKY non-zero exit status 1
1842s nova [W] Using flock in prodstack6-ppc64el
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250221.img (UUID 2f98d860-9c02-405f-ad5b-1c2fc9874794)...
1842s nova [W] Timed out waiting for c2a4f9f3-3ada-4be8-8464-a4f70041cecc to get deleted.
1842s nova [W] Using flock in prodstack6-ppc64el
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250221.img (UUID 2f98d860-9c02-405f-ad5b-1c2fc9874794)...
1842s nova [W] Timed out waiting for cdcc0d62-04b4-43de-b620-74b0f517968c to get deleted.
1842s nova [W] Using flock in prodstack6-ppc64el
1842s flock: timeout while waiting to get lock
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250221.img (UUID 2f98d860-9c02-405f-ad5b-1c2fc9874794)...
1842s nova [W] Timed out waiting for d3f8208b-935d-4e1b-b4d0-80001110b093 to get deleted.
1842s nova [W] Using flock in prodstack6-ppc64el
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250221.img (UUID 2f98d860-9c02-405f-ad5b-1c2fc9874794)...
1842s nova [W] Timed out waiting for d4504807-4791-4d19-8c4e-969a08cf0735 to get deleted.
1842s nova [W] Using flock in prodstack6-ppc64el
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250222.img (UUID fe93544b-49e9-47e0-b80a-745acc8cd85b)...
1842s nova [W] Timed out waiting for f2c99e13-6ba6-4889-828d-1ca9301b3348 to get deleted.
1842s nova [W] Using flock in prodstack6-ppc64el
1842s Creating nova instance adt-plucky-ppc64el-glib2.0-20250222-051750-juju-7f2275-prod-proposed-migration-environment-2-dcdcf6f0-1b03-4016-a457-5cc9da624db3 from image adt/ubuntu-plucky-ppc64el-server-20250222.img (UUID fe93544b-49e9-47e0-b80a-745acc8cd85b)...
1842s nova [W] Timed out waiting for 18cc316d-aa22-4904-a596-a324670510cb to get deleted.